Ridgepole ã¤ã³ã¹ãã¤ã¢ã® golang ç¨ DB ã¹ãã¼ãã®ãã¤ã°ã¬ã¼ã·ã§ã³ãã¼ã«ãä½ãã¾ããã https://github.com/naoina/migu Migu 㯠Ridgepole ã¨åæ§ã«ï¼ãã°ãç¡ãéãï¼åªçæ§ãä¿è¨¼ããã¦ãã¾ãã Ridgepole ã¨éãã¨ããã¯ãã¹ãã¼ãå®ç¾©ã DSL ã§ã¯ãªã㦠golang ã® struct ã§å®ç¾©ããã¨ããã§ãããããããã¨ã«ãã£ã¦ãã¢ãã«å®ç¾© ï¼ ã¹ãã¼ãå®ç¾©ã¨ãªãã®ã§ DRY ã«ãªãã¾ãã 使ãæ¹ ä¸è¨ã schema.go ã¨ãããã¡ã¤ã«åã§ä¿åãã¾ãããã¡ã¤ã«åã¯ä½ã§ããããã§ãããããã§ã¯ schema.go ã使ãã¾ããpackage åãä½ã§ãæ§ãã¾ããã package schema type User struct { Name string Age int } 次㫠migu_test ã¨ãããã¼ã¿
{{#tags}}- {{label}}
{{/tags}}