marshal.go 233 B

12345678910111213
  1. package sitef
  2. // Marshallling of structs from and to sitef format
  3. /*
  4. func Marshal(value interface{}) (byte [], error)
  5. st := reflect.TypeOf(s)
  6. field := st.Field(0)
  7. fmt.Println(field.Tag.Get("color"), field.Tag.Get("species"))
  8. */