dgw 安装过程

dgw 安装过程

  • 安装dgw

    • go get -u github.com/achiku/dgw
      
  • 运行上面的命令之后,就能获取到可运行dwg命令

    • dgw postgres://dbuser@localhost/dbname?sslmode=disable 
      
  • 可能会出现的错误

    • "goimports": executable file not found in $PATH
      
  • 解决办法

    • 下载goimports工具:go get -u golang.org/x/tools/cmd/goimports
      
原文地址:https://www.cnblogs.com/MyUniverse/p/13553524.html