Skip to content

Commit

Permalink
v3.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rickb777 committed Dec 22, 2023
1 parent fb76243 commit e1581e1
Show file tree
Hide file tree
Showing 39 changed files with 153 additions and 191 deletions.
9 changes: 4 additions & 5 deletions example/base_enum.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// generated code - do not edit
// github.com/rickb777/enumeration/v3 v3.1.2
// github.com/rickb777/enumeration/v3 v3.1.4

package example

Expand Down Expand Up @@ -84,10 +84,9 @@ func BaseOf(v int) Base {
//
// Usage Example
//
// v := new(Base)
// err := v.Parse(s)
// ... etc
//
// v := new(Base)
// err := v.Parse(s)
// ... etc
func (v *Base) Parse(in string) error {
if v.parseNumber(in) {
return nil
Expand Down
9 changes: 4 additions & 5 deletions example/channel_enum.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// generated code - do not edit
// github.com/rickb777/enumeration/v3 v3.1.2
// github.com/rickb777/enumeration/v3 v3.1.4

package example

Expand Down Expand Up @@ -88,10 +88,9 @@ func SalesChannelOf(v int) SalesChannel {
//
// Usage Example
//
// v := new(SalesChannel)
// err := v.Parse(s)
// ... etc
//
// v := new(SalesChannel)
// err := v.Parse(s)
// ... etc
func (v *SalesChannel) Parse(in string) error {
if v.parseNumber(in) {
return nil
Expand Down
9 changes: 4 additions & 5 deletions example/country_enum.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// generated code - do not edit
// github.com/rickb777/enumeration/v3 v3.1.2
// github.com/rickb777/enumeration/v3 v3.1.4

package example

Expand Down Expand Up @@ -681,10 +681,9 @@ func CountryOf(v int) Country {
//
// Usage Example
//
// v := new(Country)
// err := v.Parse(s)
// ... etc
//
// v := new(Country)
// err := v.Parse(s)
// ... etc
func (v *Country) Parse(in string) error {
if v.parseNumber(in) {
return nil
Expand Down
9 changes: 4 additions & 5 deletions example/day_enum.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// generated code - do not edit
// github.com/rickb777/enumeration/v3 v3.1.2
// github.com/rickb777/enumeration/v3 v3.1.4

package example

Expand Down Expand Up @@ -92,10 +92,9 @@ func DayOf(v int) Day {
//
// Usage Example
//
// v := new(Day)
// err := v.Parse(s)
// ... etc
//
// v := new(Day)
// err := v.Parse(s)
// ... etc
func (v *Day) Parse(in string) error {
if v.parseNumber(in) {
return nil
Expand Down
9 changes: 4 additions & 5 deletions example/greekalphabet_enum.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// generated code - do not edit
// github.com/rickb777/enumeration/v3 v3.1.2
// github.com/rickb777/enumeration/v3 v3.1.4

package example

Expand Down Expand Up @@ -137,10 +137,9 @@ func GreekAlphabetOf(v int) GreekAlphabet {
//
// Usage Example
//
// v := new(GreekAlphabet)
// err := v.Parse(s)
// ... etc
//
// v := new(GreekAlphabet)
// err := v.Parse(s)
// ... etc
func (v *GreekAlphabet) Parse(in string) error {
if v.parseNumber(in) {
return nil
Expand Down
9 changes: 4 additions & 5 deletions example/method_enum.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// generated code - do not edit
// github.com/rickb777/enumeration/v3 v3.1.2
// github.com/rickb777/enumeration/v3 v3.1.4

package example

Expand Down Expand Up @@ -97,10 +97,9 @@ func MethodOf(v int) Method {
//
// Usage Example
//
// v := new(Method)
// err := v.Parse(s)
// ... etc
//
// v := new(Method)
// err := v.Parse(s)
// ... etc
func (v *Method) Parse(in string) error {
if v.parseNumber(in) {
return nil
Expand Down
9 changes: 4 additions & 5 deletions example/month_enum.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// generated code - do not edit
// github.com/rickb777/enumeration/v3 v3.1.2
// github.com/rickb777/enumeration/v3 v3.1.4

package example

Expand Down Expand Up @@ -107,10 +107,9 @@ func MonthOf(v int) Month {
//
// Usage Example
//
// v := new(Month)
// err := v.Parse(s)
// ... etc
//
// v := new(Month)
// err := v.Parse(s)
// ... etc
func (v *Month) Parse(in string) error {
if v.parseNumber(in) {
return nil
Expand Down
9 changes: 4 additions & 5 deletions example/pet_enum.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// generated code - do not edit
// github.com/rickb777/enumeration/v3 v3.1.2
// github.com/rickb777/enumeration/v3 v3.1.4

package example

Expand Down Expand Up @@ -91,10 +91,9 @@ func PetOf(v int) Pet {
//
// Usage Example
//
// v := new(Pet)
// err := v.Parse(s)
// ... etc
//
// v := new(Pet)
// err := v.Parse(s)
// ... etc
func (v *Pet) Parse(in string) error {
if v.parseNumber(in) {
return nil
Expand Down
9 changes: 4 additions & 5 deletions internal/test/season1_enum.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// generated code - do not edit
// github.com/rickb777/enumeration/v3 v3.1.2
// github.com/rickb777/enumeration/v3 v3.1.4

package test

Expand Down Expand Up @@ -84,10 +84,9 @@ func Season1Of(v int) Season1 {
//
// Usage Example
//
// v := new(Season1)
// err := v.Parse(s)
// ... etc
//
// v := new(Season1)
// err := v.Parse(s)
// ... etc
func (v *Season1) Parse(in string) error {
if v.parseNumber(in) {
return nil
Expand Down
9 changes: 4 additions & 5 deletions internal/test/season2_enum.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// generated code - do not edit
// github.com/rickb777/enumeration/v3 v3.1.2
// github.com/rickb777/enumeration/v3 v3.1.4

package test

Expand Down Expand Up @@ -84,10 +84,9 @@ func Season2Of(v int) Season2 {
//
// Usage Example
//
// v := new(Season2)
// err := v.Parse(s)
// ... etc
//
// v := new(Season2)
// err := v.Parse(s)
// ... etc
func (v *Season2) Parse(in string) error {
if v.parseNumber(in) {
return nil
Expand Down
9 changes: 4 additions & 5 deletions internal/test/season_ic_ji_enum.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// generated code - do not edit
// github.com/rickb777/enumeration/v3 v3.1.2
// github.com/rickb777/enumeration/v3 v3.1.4

package test

Expand Down Expand Up @@ -87,10 +87,9 @@ func Season_Ic_JiOf(v int) Season_Ic_Ji {
//
// Usage Example
//
// v := new(Season_Ic_Ji)
// err := v.Parse(s)
// ... etc
//
// v := new(Season_Ic_Ji)
// err := v.Parse(s)
// ... etc
func (v *Season_Ic_Ji) Parse(in string) error {
if v.parseNumber(in) {
return nil
Expand Down
9 changes: 4 additions & 5 deletions internal/test/season_ic_jj_enum.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// generated code - do not edit
// github.com/rickb777/enumeration/v3 v3.1.2
// github.com/rickb777/enumeration/v3 v3.1.4

package test

Expand Down Expand Up @@ -90,10 +90,9 @@ func Season_Ic_JjOf(v int) Season_Ic_Jj {
//
// Usage Example
//
// v := new(Season_Ic_Jj)
// err := v.Parse(s)
// ... etc
//
// v := new(Season_Ic_Jj)
// err := v.Parse(s)
// ... etc
func (v *Season_Ic_Jj) Parse(in string) error {
if v.parseNumber(in) {
return nil
Expand Down
9 changes: 4 additions & 5 deletions internal/test/season_ic_jn_enum.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// generated code - do not edit
// github.com/rickb777/enumeration/v3 v3.1.2
// github.com/rickb777/enumeration/v3 v3.1.4

package test

Expand Down Expand Up @@ -87,10 +87,9 @@ func Season_Ic_JnOf(v int) Season_Ic_Jn {
//
// Usage Example
//
// v := new(Season_Ic_Jn)
// err := v.Parse(s)
// ... etc
//
// v := new(Season_Ic_Jn)
// err := v.Parse(s)
// ... etc
func (v *Season_Ic_Jn) Parse(in string) error {
if v.parseNumber(in) {
return nil
Expand Down
9 changes: 4 additions & 5 deletions internal/test/season_ic_si_enum.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// generated code - do not edit
// github.com/rickb777/enumeration/v3 v3.1.2
// github.com/rickb777/enumeration/v3 v3.1.4

package test

Expand Down Expand Up @@ -88,10 +88,9 @@ func Season_Ic_SiOf(v int) Season_Ic_Si {
//
// Usage Example
//
// v := new(Season_Ic_Si)
// err := v.Parse(s)
// ... etc
//
// v := new(Season_Ic_Si)
// err := v.Parse(s)
// ... etc
func (v *Season_Ic_Si) Parse(in string) error {
if v.parseNumber(in) {
return nil
Expand Down
9 changes: 4 additions & 5 deletions internal/test/season_ic_sn_enum.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// generated code - do not edit
// github.com/rickb777/enumeration/v3 v3.1.2
// github.com/rickb777/enumeration/v3 v3.1.4

package test

Expand Down Expand Up @@ -88,10 +88,9 @@ func Season_Ic_SnOf(v int) Season_Ic_Sn {
//
// Usage Example
//
// v := new(Season_Ic_Sn)
// err := v.Parse(s)
// ... etc
//
// v := new(Season_Ic_Sn)
// err := v.Parse(s)
// ... etc
func (v *Season_Ic_Sn) Parse(in string) error {
if v.parseNumber(in) {
return nil
Expand Down
9 changes: 4 additions & 5 deletions internal/test/season_ic_ss_enum.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// generated code - do not edit
// github.com/rickb777/enumeration/v3 v3.1.2
// github.com/rickb777/enumeration/v3 v3.1.4

package test

Expand Down Expand Up @@ -91,10 +91,9 @@ func Season_Ic_SsOf(v int) Season_Ic_Ss {
//
// Usage Example
//
// v := new(Season_Ic_Ss)
// err := v.Parse(s)
// ... etc
//
// v := new(Season_Ic_Ss)
// err := v.Parse(s)
// ... etc
func (v *Season_Ic_Ss) Parse(in string) error {
if v.parseNumber(in) {
return nil
Expand Down
9 changes: 4 additions & 5 deletions internal/test/season_ic_ta_enum.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// generated code - do not edit
// github.com/rickb777/enumeration/v3 v3.1.2
// github.com/rickb777/enumeration/v3 v3.1.4

package test

Expand Down Expand Up @@ -97,10 +97,9 @@ func Season_Ic_TaOf(v int) Season_Ic_Ta {
//
// Usage Example
//
// v := new(Season_Ic_Ta)
// err := v.Parse(s)
// ... etc
//
// v := new(Season_Ic_Ta)
// err := v.Parse(s)
// ... etc
func (v *Season_Ic_Ta) Parse(in string) error {
if v.parseNumber(in) {
return nil
Expand Down
9 changes: 4 additions & 5 deletions internal/test/season_ic_ti_enum.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// generated code - do not edit
// github.com/rickb777/enumeration/v3 v3.1.2
// github.com/rickb777/enumeration/v3 v3.1.4

package test

Expand Down Expand Up @@ -87,10 +87,9 @@ func Season_Ic_TiOf(v int) Season_Ic_Ti {
//
// Usage Example
//
// v := new(Season_Ic_Ti)
// err := v.Parse(s)
// ... etc
//
// v := new(Season_Ic_Ti)
// err := v.Parse(s)
// ... etc
func (v *Season_Ic_Ti) Parse(in string) error {
if v.parseNumber(in) {
return nil
Expand Down
9 changes: 4 additions & 5 deletions internal/test/season_ic_tn_enum.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// generated code - do not edit
// github.com/rickb777/enumeration/v3 v3.1.2
// github.com/rickb777/enumeration/v3 v3.1.4

package test

Expand Down Expand Up @@ -87,10 +87,9 @@ func Season_Ic_TnOf(v int) Season_Ic_Tn {
//
// Usage Example
//
// v := new(Season_Ic_Tn)
// err := v.Parse(s)
// ... etc
//
// v := new(Season_Ic_Tn)
// err := v.Parse(s)
// ... etc
func (v *Season_Ic_Tn) Parse(in string) error {
if v.parseNumber(in) {
return nil
Expand Down
Loading

0 comments on commit e1581e1

Please sign in to comment.