From 68e3d4bbf5255f2c3d70bb6976c5b355609c4d8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro?= Date: Wed, 26 Oct 2016 17:12:50 +0100 Subject: [PATCH] Updated readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 63ab099..97f1b70 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ from a REST API request... In short, from those places where using the real enum be almost meaningless or hard to trace or use by a human. * When the flag `json` is provided, two more methods will be generated, `MarshalJSON()` and `UnmarshalJSON()`. Those make the enum conform the `json.Marshaler` and `json.Unmarshaler` interfaces. Very useful to use it in JSON APIs. -* When the flag `sql` is provided the methods for implementing the Scanner and Valuer interfaces will be also generated. +* When the flag `sql` is provided, the methods for implementing the Scanner and Valuer interfaces will be also generated. Useful when storing the enum in a database. For example, if we have an enum type called `Pill`,