« Golang ã§ç©çãã¡ã¤ã«ã®æä½ã« path/filepath ã§ãªã path ã使ãã¨ççºãã¾ãã | Main | VimConf2017 ã«åå ãã¦ããã » printf ãããã°ã¯ä¾¿å©ã ãæè¡ã®å¾éã¨è¨ãããã㨠printf ã§ãªãã¨è§£æ±ºã§ããªãäºã¯ã¾ã ã¾ã ããããããã¾ãã ä»æ¥ã¯ net/http ã§ã¯ã©ã¤ã¢ã³ããå¾ãã¬ã¹ãã³ã¹ã® JSON ã確èªãããã¨ãã£ãå ´åã«ãã©ããããã°ãããããããæ¸ãã¦ã¿ããã¨æãã Go ã®ã¤ã³ã¿ãã§ã¼ã¹ã¯å¤§ãã io.Reader ããã㯠io.Writer ã使ãæ§ã«è¨è¨ããã¦ãããããããäºã§ããã°ã©ã ãã¡ã¢ãªãä¸åº¦ã«æ²¢å±±ç¢ºä¿ãã¦ãã¾ããªãæ§ã«ãã¦ãã¾ãã package main import ( "encoding/json" "fmt" "log" "net/http" ) type Foo struct { ID Â
{{#tags}}- {{label}}
{{/tags}}