ã´ã£ã´å 輩ããGoè¨èªã§çºè¡ããã¯ã¨ãªã確èªããããã£ã¦è¨ã£ã¦ã¦ã ãMySQL使ã£ã¦ãããªãGeneral Logãåãã°ããã®ã§ã¯ï¼ãã¨è¿ãããã ãã©ãã ãã£ã¨æ±ç¨çãªæ¹æ³ã¯ãªããã®ãã¨èãã¦ã¿ã¾ããã Golangã® database/sql ã¯ã©ããªDBã§ã対å¿ã§ããããããã©ã¤ããèªç±ã«å ¥ãæ¿ãããã¨ãã§ãã¾ãã ãã©ã¤ãã¯åã«database/sql/driverã«ããã¤ã³ã¿ã¼ãã§ã¼ã¹ãæºããã¦ããä½ããªã®ã§ã ã¦ã¼ã¶ãèªç±ã«ä½ããã¨ãã§ããããinterfaceãçµç±ãã¦ç´æ¥å¼ã³åºããã¨ãå¯è½ã§ãã ãã®ä»çµã使ã£ã¦ãå¥ã®ãã©ã¤ãã«ãã®ã¾ã¾æ¸¡ããããã·ãä½ãã°ããã°ãåããã®ã§ã¯ï¼ã¨ãããã¨ã§ãã£ã¦ã¿ã¾ããã go-sql-proxy 使ãæ¹ ã¾ãæåã«go-sql-proxyããã©ã¤ãã¨ãã¦ç»é²ãã¾ãã hooks := &proxy.Hooks{ // Hook fun
{{#tags}}- {{label}}
{{/tags}}