Skip to content

Commit 60c7b26

Browse files
committed
Updated readme and update examples
1 parent 6647686 commit 60c7b26

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ func ParseStatus(a any) (Status, error) {
139139

140140
func stringToStatus(s string) Status {
141141
switch s {
142-
case "invalid":
142+
case "unknown":
143143
return Statuses.UNKNOWN
144144
case "failed":
145145
return Statuses.FAILED
@@ -224,7 +224,7 @@ func _() {
224224
_ = x[booked-6]
225225
}
226226

227-
const _statuses_name = "invalidfailedpassedskippedscheduledrunningbooked"
227+
const _statuses_name = "unknownfailedpassedskippedscheduledrunningbooked"
228228

229229
var _statuses_index = [...]uint16{0, 7, 13, 19, 26, 35, 42, 48}
230230

@@ -477,7 +477,7 @@ func ParsePlanet(a any) (Planet, error) {
477477

478478
func stringToPlanet(s string) Planet {
479479
switch s {
480-
case "invalid":
480+
case "unknown":
481481
return Planets.UNKNOWN
482482
case "Mercury":
483483
return Planets.MERCURY
@@ -570,7 +570,7 @@ func _() {
570570
_ = x[neptune-8]
571571
}
572572

573-
const _planets_name = "invalidMercuryVenusEarthMarsJupiterSaturnUranusNeptune"
573+
const _planets_name = "unknownMercuryVenusEarthMarsJupiterSaturnUranusNeptune"
574574

575575
var _planets_index = [...]uint16{0, 7, 14, 19, 24, 28, 35, 41, 47, 54}
576576

examples/sale/discounttypes_enums.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/salesimple/discounttypes_enums.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/solarsystem/planets_enums.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/solarsystemsimple/planets_enums.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/validation/statuses_enums.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)