éçºã§ä¸çªå¤§å¤ãªã®ã¯ãã¹ããã¼ã¿ã®æºåã§ã¯ãªãã§ããããï¼ä»åã¯ãDummy JSON ã使ã£ããã¹ããã¼ã¿ã®ä½ææ¹æ³ã«ã¤ãã¦ç´¹ä»ãã¾ãã Dummy JSON ã¨ã¯ï¼Handlebars ãã³ãã¬ã¼ãã使ã£ã¦ãã©ã³ãã ãªJSONãã¼ã¿ãä½æããããã® Node ã¦ãã£ãªãã£ã§ããJSON ãã¼ã¿ã¨æ¸ãã¾ããããCSVãããã¹ããã¼ã¹ã®ãã¼ã¿ã§ããã°ãªãã§ãä½æã§ãã¾ãã Dummy JSON ã¯ãã©ã³ãã ãªãã¼ã¿ãä½æããããã®ãã«ãã¼ãããããç¨æããã¦ãã¾ããã«ã¹ã¿ã ãã«ãã¼ãä½ããã¨ãã§ããã®ã§ãç¬èªã®ãã¹ããã¼ã«ãä½æã§ãããã§ããã ããã§ã¯ã使ãæ¹ãç°¡åã«èª¬æãã¾ãããã ã¤ã³ã¹ãã¼ã«æé 以ä¸ã®ã³ãã³ããå®è¡ããã¨ãNode.js ã®ã©ã¤ãã©ãªã¨ãã¦å©ç¨ã§ããããã«ãªãã¾ãã(Node.js ã¯äºåã«ã¤ã³ã¹ãã¼ã«ãã¦ãã ããï¼ npm install dummy-jsonãã
æè¿ä½åº¦ãèãããã®ã§èªåãGolangã§CLIãã¼ã«ãAPIãµã¼ãã¼ãæ¸ãã¨ãã«å®è·µãã¦ãinterfaceã使ã£ããã¹ãææ³ã«ã¤ãã¦ç°¡åã«æ¸ãã¦ããï¼ã¾ãã¯interfaceã使ã£ããã¹ãã®åºæ¬ã«ã¤ãã¦èª¬æã次ã«èªåãå®è·µãã¦ããç°¡åãªãã¯ããã¯ãããã¤ãç´¹ä»ããï¼ ãªãGolangã®ãã¹ãã®åºæ¬ã«ã¤ãã¦ã¯ @suzuken ããã«ãããã¿ããªã®Goè¨èªã ã®6ç« ãæé«ãªã®ã§ä»ããè²·ã£ã¦ããï¼ åæ èªåã¯ãã¹ããã¬ã¼ã ã¯ã¼ã¯ãå¤é¨ãã¼ã«ã¯å ¨ã使ããªãï¼æ¨æºã®testingããã±ã¼ã¸ã®ã¿ã使ãï¼https://golang.org/doc/faq#Packages_Testing ã«ãæ¸ããã¦ããããã«ãã¹ãã®ããã®ãã¬ã¼ã ã¯ã¼ã¯ã使ããã¨ã¯æ°ããªMini languageï¼DSLï¼ãå°å ¥ãããã¨ã¨å¤ãããªãï¼æåã«ãããæ¸ã人ã¯æ¥½ã«ãªããããããªããæ°ããããã¸ã§ã¯ãã«åå ¥ãã¦ããã²
æå»å¨ãã®å¦çã¯ãã°ãæ··å ¥ããããä¸ã«ãã¹ããæ¸ãã¥ããã¦é¢åãããã ä»åã¯ããããªé¢åãªæå»ã®ãã¹ãã楽ã«æ¸ããããã«ãªã freezegun ã¨ããããã±ã¼ã¸ã使ã£ã¦ã¿ãã ãã® freezegun ã¨ããããã±ã¼ã¸ã使ã㨠Python ã®æ¨æºã©ã¤ãã©ãªã® datetime ããå¾ãããç¾å¨æå»ãæå®ãããã®ã«å·®ãæ¿ãããã¨ãã§ããã 使ã£ãç°å¢ã¯æ¬¡ã®éãã $ sw_vers ProductName: Mac OS X ProductVersion: 10.11.6 BuildVersion: 15G1108 $ python --version Python 3.5.2 æå»ããã¹ãããã¨ãã®é¢åããã æå»å¨ãã®å¦çããã¹ããããã¨ãã¯ãå½ç¶ãªããè²ã ãªæå»ã使ã£ã¦ãã¹ãããããã ã¨ã¯ããããã®ããã ãã«ã·ã¹ãã ã®æå»ãå¤æ´ããªãããã¹ããèµ°ãããããã«ããããªãã ããã
Middleman ã§éç Web ãµã¤ããè¶ éãããã¿ã¤ãã³ã° ã·ãªã¼ãº Grunt + TypeScript + Middleman ã«ããããã³ãã¨ã³ãéçºç°å¢ãä½ã£ã¦ã¿ã è¨äº 2014å¹´04æ30æ¥ å±±ç° ç´æ¨¹ 270 5 Middleman ã使ãããã«ãªã£ã¦ãã°ããçµã¡ã¾ããã2014å¹´4æç¾å¨ TypeScript ã«å¯¾å¿ãã¦ããªãã¨ããã®ãã©ããæ°ã«ãªãã¾ããRuby on Rails ã Sinatra ã¨ãã£ãä»ã® Ruby 製 [â¦]
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}