Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mattn
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattn/404abd2193d2269ac5d1 to your computer and use it in GitHub Desktop.
Save mattn/404abd2193d2269ac5d1 to your computer and use it in GitHub Desktop.
package nurupo
import (
"errors"
"strings"
)
func Nurupo(message string) error {
if strings.Contains(message, "ぬるぽ") {
return errors.New("ガッ")
}
return nil
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment