<p dir="auto">by <strong>ewald.pankratz</strong>:</p>
<pre class="notranslate">I followed the installation description and had a problem with
$ cd $GOROOT/src
$ make all

because my $HOME/bin was not in the PATH and it couldn't find 
gomake


waldi@digitec-03:~$ echo $GOOS
linux
waldi@digitec-03:~$ echo $GOARCH
amd64
waldi@digitec-03:~$ 



Which revision are you using?  (hg identify)


Please provide any additional information below.</pre>
<pre class="notranslate">gob:

type GobDecoder interface {
    GobDecode([]byte) error
}
type GobEncoder interface {
    GobEncode() ([]byte, error)
}

json:

type Marshaler interface {
    MarshalJSON() ([]byte, error)
}
type Unmarshaler interface {
    UnmarshalJSON([]byte) error
}

xml:

type Marshaler interface {
    MarshalXML() ([]byte, error)
}
// no Unmarshaler

So a type T that implements these three looks like this:

func (T) GobDecode([]byte) error
func (T) GobEncode() ([]byte, error)
func (T) MarshalJSON() ([]byte, error)
func (T) MarshalXML() ([]byte, error)
func (T) UnmarshalJSON([]byte) error

Kinda gross.

I'd prefer it that the encoding name came first (either FooMarshal or FooEncode), so
that the Marshal and Unmarshal methods are alphabetical neighbors.

I have no preference as to Marshal vs Encode.</pre>