diff options
author | Doug Black <dblack@twilio.com> | 2014-01-27 10:41:28 -0500 |
---|---|---|
committer | Doug Black <dblack@twilio.com> | 2014-01-27 10:41:28 -0500 |
commit | 0a2d08f88e0a25d8fe388647abdfad029ca6a0b7 (patch) | |
tree | 31ed7a9147b4ac5b4354b00edcaa1f0db4c386b4 /error.go | |
parent | add license (diff) | |
download | sleepy-0a2d08f88e0a25d8fe388647abdfad029ca6a0b7.tar.gz sleepy-0a2d08f88e0a25d8fe388647abdfad029ca6a0b7.tar.bz2 sleepy-0a2d08f88e0a25d8fe388647abdfad029ca6a0b7.zip |
use ServeMux, capitalize API, clean tests
Diffstat (limited to 'error.go')
-rw-r--r-- | error.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/error.go b/error.go new file mode 100644 index 0000000..c52a483 --- /dev/null +++ b/error.go @@ -0,0 +1,9 @@ +package sleepy + +type errorString struct { + s string +} + +func (e *errorString) Error() string { + return e.s +} |