From 9ffb7701ca58b3076eccf7456856c8b148abde93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ali=20G=C3=B6rkem=20=C3=87i=C3=A7ek?= Date: Tue, 14 May 2024 23:50:34 +0300 Subject: [PATCH] Fix typo in the enums example --- examples/enums/enums.go | 2 +- examples/enums/enums.hash | 4 ++-- public/enums | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) 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