From cccf8069cb852e039ef2c635145660503ef3c618 Mon Sep 17 00:00:00 2001 From: Tevin Zhang Date: Thu, 16 Jul 2020 13:57:01 +0800 Subject: [PATCH] Fix typos in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c03178a..692413b 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,10 @@ import "github.com/tevino/abool" cond := abool.New() // default to false -cond.Set() // Set to true +cond.Set() // Sets to true cond.IsSet() // Returns true -cond.UnSet() // Set to false -cond.SetTo(any) // Set to whatever you want +cond.UnSet() // Sets to false +cond.SetTo(any) // Sets to whatever you want cond.SetToIf(new, old) // Sets to `new` only if the Boolean matches the `old`, returns whether succeeded cond.Toggle() // Inverts the boolean then returns the value before inverting