Skip to content

Commit

Permalink
Add u.False & u.True
Browse files Browse the repository at this point in the history
  • Loading branch information
leaanthony committed Sep 24, 2023
1 parent ca8320b commit b2cae49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ fmt.Println(myVar.IsSet()) // false
```go
type MyStruct struct {
MyVar u.Int
MyOption u.Bool
MyOption u.Bool
}

myStruct := MyStruct{
MyVar: u.NewInt(42),
MyOption: u.True,
MyVar: u.NewInt(42),
MyOption: u.True,
}
```

Expand Down

0 comments on commit b2cae49

Please sign in to comment.