Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ç¾å¨çµ¶è³éçºä¸ã®kirimoriã§ããããªãã¨Golangçéã§æåãªmattnããã«ãªãã¡ã¯ã¿ãªã³ã°ããã¦é ãã¨ãããã¨ã¦ãå¬ããäºæ ãããã¾ãã⨠kirimoriã«ã¤ãã¦ã¯ãã¡ãâ syossan.hateblo.jp ãªãã¡ã¯ã¿ãªã³ã°åæã§ããªãéã«æ¸ãã¦ããã®ã§ããããã¡ããã¡ãè¯ãæãã«ã³ã¼ããç´ãã¦é ããã®ã§èªåã®åå¼·ã®ããã«èªã¿è§£ãã¦ã¿ã¾ãð ãªãã¡ã¯ã¿ãªã³ã°å kirimoriã¯ä»¥ä¸ã®æ©è½ãæãã¦ãã¾ãã initã³ãã³ãã§kirimoriã®è¨å®ãã¡ã¤ã«ï¼tomlå½¢å¼ï¼ãä½æãã¾ã addã³ãã³ãã§ã³ãã³ãã©ã¤ã³å¼æ°ã«æå®ãããã©ã°ã¤ã³ã追å ãã¾ã removeã³ãã³ãã§ã³ãã³ãã©ã¤ã³å¼æ°ã«æå®ãããã©ã°ã¤ã³ãåé¤ãã¾ã listã³ãã³ãã§ãã©ã°ã¤ã³ã®ä¸è¦§ã表示ãã¾ã ã§ãæ§æçã«ã¯ kirimori.go ã«å ¨ã¦ã®ã³ãã³ãã®å¦çããã¿æ¸ãã«ãã¦ããæãã«ãªã£ã¦ããã¾ã
ç°¡åãªæèå®é¨ãããã¦ãã ãããã³ã¼ããASCIIã¨ãã¦ãã£ã¹ã¯ã«ä¿åããå¿ è¦ããªãã¨ãã¾ããããåãã¡ãã·ã³ãã«ã使ãã³ã¼ãã®æ¸ãæ¹ãå¤ããããã?ãããã¦ä½ããããã®âèªã¿æ¹âãå¤ããããã?ãæ³åã§ãããã¹ã¦ãèªãã¦ãç·¨éã§ãã¦ãæ¸ããéæ³ã®ã³ã¼ãã»ã¨ãã£ã¿ãããã¨ãã¾ããããããã«ãåãããã«æ©è½ããéæ³ã®ã³ã³ãã¤ã©ãããã¨ãã¾ããããçæ³ã®ã³ã¼ãã¯ã©ã®ããã«ãªãã§ãããã? ã¾ãåºåãæåããèªç±ã«ãªããã§ããããã©ããã¦ãããªãã®ãããã®ã?ãã³ã³ãã¤ã©ãååè³¢ããªãããã å¼ç¨ç¬¦ã®ãããªåºåãæåã¯ã³ã³ãã¤ã©ã«ã·ã³ãã«ãçµããã¨ãã¨ãªãã©ã«ãå§ã¾ãã¨ããç¥ãããããã«ããã¾ãããªãå¤æ°ãæ°åã§å§ããããªãããåæ§ã§ããã³ã³ãã¤ã©ã¯å¤æ°åãªã®ãæ°å¤ãªãã©ã«ãªã®ãç¥ããããããã¾ããããã代ããã«ã¿ã¤ãã°ã©ãã£ã使ã£ã¦ããããåºå¥ã§ããã¨ãããã©ããªãã§ããããã ä¾ãããã¾ãã
ãã¨ã¨ããæ¸è°·JVMã¨ããã¤ãã³ãããã£ã¦ç»å£ããã¦ããã£ããã§ããããã®ãã¨ãã¼ã«é£²ãã§ãã¨ãã«ãã¼ãããã³ã¼ãæ¸ãåã«ã³ã¡ã³ãã ãæ¸ãã®ãããããã¨è¨ã£ããã¨ã®è¿çã¨ãã¦ããããã(kyon_mm)ãè¨ã£ãè¨èã å ¨ä½ã¨ãã¦ã¯ ãã³ã¼ãå ã«æ¸ãã¦ãã®ã³ã¼ãã«å¯¾ãã¦ãã¹ããæ¸ãã¨å®è£ ã«å¯¾ãããã¹ãã«ãªãããã³ã¼ããå ã«æ¸ãã¦ãã®ã³ã¼ãã«å¯¾ãã¦ã³ã¡ã³ããæ¸ãã¨å®è£ ã«å¯¾ããã³ã¡ã³ãã«ãªãã ã¨ããæãã ããã«è³ãã¾ã§ã®è©±ããããããã£ããã ãã©ãããã§ã¯ãã³ã¡ã³ãã«ã¤ãã¦æ¸ãã¦ã¿ã¾ãã ã¾ããå®è£ ã«å¯¾ããã³ã¡ã³ãã£ã¦ã©ãããã®ãã¨ããã¨ãããããã®ã id = findId(name); if(id == -1){ // idã-1ã ã£ãã¨ãç»é² register(name); } ããããã¯ã³ã¼ãè¦ãã°ããããããã£ã¦ãã¤ã§ããã ããã¯ãããããã¨ããé©åã§ãã id = findId
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}