2018-07-05から1日間の記事一覧
構造体にあるjsonなどのタグより取得 package main import ( "fmt" "reflect" ) type Sample struct { no int `sampletag:"aaaaa"` name string `sampletag:"bbbbb"` age int `sampletag:"ccccc"` } func main() { fmt.Println("start") // Sample1インター…
Github(変なおっさんの顔でるので気をつけてね)
構造体にあるjsonなどのタグより取得 package main import ( "fmt" "reflect" ) type Sample struct { no int `sampletag:"aaaaa"` name string `sampletag:"bbbbb"` age int `sampletag:"ccccc"` } func main() { fmt.Println("start") // Sample1インター…