ã¯ããã« éµãéãå¿ãããããªæ°ããã¦å¿é ã«ãªãããã«ããªã½ã¼ã¹ãå¾å§æ«ãã¦ãããå¿é ã«ãªããã¨ã¯ããã¾ãããã ãç¿æ £çã«deferã§Closeãã¦ããããªã¼ã¯ããªãã¯ãããã©ãããï¼ãã©ã³ã¶ã¯ã·ã§ã³ã¯ãã¦ãªãã£ãããããï¼Closeãªãã®ï¼ï¼ã Goã®æ¨æºã©ã¤ãã©ãªã® database/sql ã§ä¸å¿ã¨ãªã sql.DB ã§ã¯ããã©ã«ãã§ã³ãã¯ã·ã§ã³ãã¼ã«ã使ãããããã«ãªã£ã¦ãã¦æ示çãªæä½ã¯ä¸è¦ã§ãã ã§ã¯ãã£ãããã©ã®ã¿ã¤ãã³ã°ã§ãã¼ã«ã«è¿å´ããã¦ããã®ãããã¿ã¼ã³ãæ´çãã¦ã¿ã¾ããã æºå æåã®ç¢ºèªã§INSERTãSELECTãå®è¡ãããããPostgreSQLã«ç°¡æãªãã¼ãã«ãä½æãã¾ããã CREATE TABLE shop ( id serial PRIMARY KEY, name text NOT NULL, created_at timestamp with tim
{{#tags}}- {{label}}
{{/tags}}