Thank you for your pointing out. This problem is occur by the difference of
yaml veresion.
When I use same version of YAML, I got same results.
In Mac I use
commit d670f9405373e636a5a2765eea47fac0c9bc91a4 (HEAD -> v2, origin/v2,
origin/master, origin/HEAD)
Merge: 1244d3c 1f1f618
Author: Roger P
>
> Thank you for your message.
I tried to exec with back-quoted string and check git hash number again.
The code which I ran is
package main
import (
"fmt"
yaml "gopkg.in/yaml.v2"
)
type Sample struct {
Namespace string `yaml:"namespace"`
Namestring `yaml:"name"`
Description stri