diff --git a/examples/enums/enums.go b/examples/enums/enums.go index a65a04d27..9514ce679 100644 --- a/examples/enums/enums.go +++ b/examples/enums/enums.go @@ -24,7 +24,7 @@ const ( ) // By implementing the [fmt.Stringer](https://pkg.go.dev/fmt#Stringer) -// interface, values of `StateType` can be printed out or converted +// interface, values of `ServerState` can be printed out or converted // to strings. // // This can get cumbersome if there are many possible values. In such diff --git a/examples/enums/enums.hash b/examples/enums/enums.hash index 0367fc00c..0e031a72c 100644 --- a/examples/enums/enums.hash +++ b/examples/enums/enums.hash @@ -1,2 +1,2 @@ -1c5bf51fa651a25eb6d9d2d24cf7dbd2713aca0c --6dSwyy83xj +b93a8b040a9c2d0de4050689f6eaab2ff0aa4644 +NyVXnLsm3cu diff --git a/public/enums b/public/enums index 12d1d740b..1ee936d81 100644 --- a/public/enums +++ b/public/enums @@ -49,7 +49,7 @@ are simple to implement using existing language idioms.

- +
package main
@@ -97,7 +97,7 @@ case 0, 1, 2 and so on.

By implementing the fmt.Stringer -interface, values of StateType can be printed out or converted +interface, values of ServerState can be printed out or converted to strings.

This can get cumbersome if there are many possible values. In such