summaryrefslogtreecommitdiff
path: root/src/pkg/exp/nacl/srpc/msg.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2010-03-02 13:46:51 -0800
committerRobert Griesemer <gri@golang.org>2010-03-02 13:46:51 -0800
commit10f55215a4d4ac643bf04202704b4fec01417bba (patch)
treee6032529c69dbf4925dc7da8a0641ff6bb264b3d /src/pkg/exp/nacl/srpc/msg.go
parentedc1c5e40d5b639a38b7a0b7484d51edab3bcb62 (diff)
downloadgolang-10f55215a4d4ac643bf04202704b4fec01417bba.tar.gz
gofmt: experiment: align values in map composites where possible
- gofmt -w src misc - looking for feedback R=rsc, r CC=golang-dev http://codereview.appspot.com/223076
Diffstat (limited to 'src/pkg/exp/nacl/srpc/msg.go')
-rw-r--r--src/pkg/exp/nacl/srpc/msg.go24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/pkg/exp/nacl/srpc/msg.go b/src/pkg/exp/nacl/srpc/msg.go
index 52f84b884..b08327ca6 100644
--- a/src/pkg/exp/nacl/srpc/msg.go
+++ b/src/pkg/exp/nacl/srpc/msg.go
@@ -34,19 +34,19 @@ const (
)
var errstr = [...]string{
- OK - OK: "ok",
- ErrBreak - OK: "break",
- ErrMessageTruncated - OK: "message truncated",
- ErrNoMemory - OK: "out of memory",
- ErrProtocolMismatch - OK: "protocol mismatch",
- ErrBadRPCNumber - OK: "invalid RPC method number",
- ErrBadArgType - OK: "unexpected argument type",
- ErrTooFewArgs - OK: "too few arguments",
- ErrTooManyArgs - OK: "too many arguments",
- ErrInArgTypeMismatch - OK: "input argument type mismatch",
+ OK - OK: "ok",
+ ErrBreak - OK: "break",
+ ErrMessageTruncated - OK: "message truncated",
+ ErrNoMemory - OK: "out of memory",
+ ErrProtocolMismatch - OK: "protocol mismatch",
+ ErrBadRPCNumber - OK: "invalid RPC method number",
+ ErrBadArgType - OK: "unexpected argument type",
+ ErrTooFewArgs - OK: "too few arguments",
+ ErrTooManyArgs - OK: "too many arguments",
+ ErrInArgTypeMismatch - OK: "input argument type mismatch",
ErrOutArgTypeMismatch - OK: "output argument type mismatch",
- ErrInternalError - OK: "internal error",
- ErrAppError - OK: "application error",
+ ErrInternalError - OK: "internal error",
+ ErrAppError - OK: "application error",
}
func (e Errno) String() string {