In the last couple of days I made a program called Horcrux which allows you to split a file into any number of horcruxes, a subset of which can then be recombined to resurrect the original file. In the process I learnt a lot about the io.Reader and io.Writer interface, and thought I would do a writeup to help build intuition for all the people out there who inevitably will find themselves using th
ããã¯Go Advent Calendar 2018ã®14æ¥ç®ã®è¨äºã¨ãªãã ãã®è¨äºã§ã¯Googleãæä¾ããGoã®Dependency Injection(DIãä¾åæ§ã®æ³¨å ¥)ãã¼ã«ã§ããWireã使ã£ãDIã®æ¦è¦ã¨ãWireã§å©ç¨å¯è½ãªDIé¢æ°ã®æ»ãå¤ã·ã°ããã£ã®ãã¿ã¼ã³ãç´¹ä»ããã github.com/google/wire https://github.com/google/wire Compile-time Dependency Injection With Go Cloudâs Wire | The Go blog https://blog.golang.org/wire TL;DR Wireã³ãã³ãã¯Google謹製ã®Goã§DIï¼ä¾åæ§ã®æ³¨å ¥ï¼ãè¡ãªããã¼ã« https://github.com/google/wire ä¾åã®æ³¨å ¥ã»åæåãä¾åã®æ³¨å ¥ã»åæåãç¹°ãè¿ãã¦å¤
æ¬è¨äºã¯ Go Advent Calendar 2019 11 æ¥ç®ã®è¨äºã§ãã Go ã¯ã·ã³ãã«ãªè¨èªæ©è½ã»ã·ã³ã¿ãã¯ã¹ãç¹å¾´ã§ãããå½åè¦åã«ããã®ã·ã³ãã«ãã表ãã¦ãã¾ãã æ¬è¨äºã§ã¯ãå ¬å¼ãèå㪠Go ã¨ã³ã¸ãã¢ãOSS ãªã©ããè¦ããã Go ãããå½åè¦åãç´¹ä»ãã¾ãã ä»æ´ãªãã¼ãããããã¾ããããæå¤ã«ãå ¬ç§å ±ã ã§å½åè¦åãæèããã¦ããªãã³ã¼ããææè¦ãããã®ã§ãèªæãè¾¼ãã¦è¨ãã¾ãã 誤ã£ãå 容ãããã° Twitter ã§ãææããã ããã°ã¨æãã¾ãã ããã±ã¼ã¸åç°¡æ½ã«ããEffective Go ã§ã¯ãshort, concise, evocative ãªããã±ã¼ã¸åãæã¾ããã¨ããã¾ãã ããã¯ããã±ã¼ã¸åã«éããã»ã¨ãã©ããããå½åã«ããã¦å½¹ç«ã¤æéã ã¨æãã¾ãã ã¾ãããããã±ã¼ã¸åã¯ä¸è¨ã§ä½ããããã表ãã¨ã¬ãã¼ã¿ã¼ãããã ãã¨ãã Dave Cheney
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}