Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 4276b04

Browse files
docs(README.md): updates references to the module name and functions.
1 parent cbe4e91 commit 4276b04

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ and DCE 1.1: Authentication and Security Services.
1010

1111
### Schema
1212

13-
Replace usages of `types.StringType` with `uuidtype.UUIDType{}`.
13+
Replace usages of `types.StringType` with `uuidtypes.UUIDType{}`.
1414

1515
Given the previous schema attribute:
1616

@@ -27,7 +27,7 @@ The updated schema will look like:
2727
```go
2828
tfsdk.Attribute{
2929
Required: true
30-
Type: uuidtype.UUIDType{}
30+
Type: uuidtypes.UUIDType{}
3131
}
3232
```
3333

@@ -50,7 +50,7 @@ The updated schema data model will look like:
5050
```go
5151
type ThingResourceModel struct {
5252
// ...
53-
Example uuidtype.UUID `tfsdk:"example"`
53+
Example uuidtypes.UUID `tfsdk:"example"`
5454
}
5555
```
5656

@@ -62,10 +62,10 @@ a known `uuid` value.
6262

6363
### Writing Values
6464

65-
Create a `uuidtype.UUID` by calling one of these functions:
65+
Create a `uuidtypes.UUID` by calling one of these functions:
6666

67-
- `NullUUID() UUID`: creates a `null` value.
68-
- `UnknownUUID() UUID`: creates an unknown value.
67+
- `UUIDNull() UUID`: creates a `null` value.
68+
- `UUIDUnknown() UUID`: creates an unknown value.
6969
- `UUIDFromString(string, path.Path) (UUID, diag.Diagnostics)`: creates a known
7070
value using the given `string` or returns validation errors if `string` is
7171
not in the expected UUID format.

0 commit comments

Comments
 (0)