初级会员
  • 第 32781 位会员
  • wn0112
  • Andy
  • 2019-03-19 17:56:13
  • Offline
  • 18 22

最近发布的文章

    暂无

最近分享的资源

    暂无

最近发布的项目

    暂无

最近的评论

  • 1楼 @didadi 是的,如何决定它们的先后顺序?
  • ``` PC=0x70769240 signal arrived during external code execution syscall.Syscall6(0x6fbc3b27, 0x5, 0xfffc, 0xc0002cc000, 0x1424, 0x64, 0x7d0, 0x0, 0x0, 0x0, ...) C:/Go/src/runtime/syscall_windows.go:197 +0xed main.run(0xc000010560) E:/Projects/cmsd/cmsd.go:464 +0x2090 created by main.(*Program).Run E:/Projects/cmsd/cmsd.go:132 +0x7de goroutine 1 [chan receive]: github.com/kardianos/service.(*windowsService).Run(0xc000099410, 0x714ec0, 0x8a9500) C:/Users/ANDY/go/pkg/mod/github.com/kardianos/service@v1.0.0/service_windows.go:280 +0x114 main.main() E:/Projects/cmsd/cmsd.go:226 +0x1f3 goroutine 5 [syscall]: os/signal.signal_recv(0x0) C:/Go/src/runtime/sigqueue.go:139 +0xa3 os/signal.loop() C:/Go/src/os/signal/signal_unix.go:23 +0x29 created by os/signal.init.0 C:/Go/src/os/signal/signal_unix.go:29 +0x48 ```
  • #2 @sdghchj 你意思是加一个rawsql 语句, IF NOT EXISTS mydatabase create... 也是
  • #1 @Francislyk 我用的就是 gorm 如何自动建数据库呢?