andeya / faygo

Faygo is a fast and concise Go Web framework that can be used to develop high-performance web app(especially API) with fewer codes. Just define a struct handler, faygo will automatically bind/verify the request parameters and generate the online API doc.

Home Page:https://github.com/henrylee2cn/faydoc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

faygo 和新版本golang不兼容,go1.10.1

forging2012 opened this issue · comments

go version
go version go1.10.1 darwin/amd64

[2018/04/23 15:40:46.768] The PID of the current process is 56453
[2018/04/23 15:40:46.776] [fay] Start build...
# errors
compile: version "go1.9" does not match go tool version "go1.10.1"
# internal/race

我这里go version go1.10 darwin/amd64测试正常

demo git:(master) fay run
        ___                    
      /  _/                    
     _| |_  __        __   ___ 
    /_   // _ |/\  /\/ _ \/ _ \
      | |  \/ /\ \/ / |/ / |/ /
      / / \_/\\ \  / \_ / \__/ 
     / /        / /  _\ \      
    \_/        \_/  \_\_/   VERSION 1.1  URL https://github.com/henrylee2cn/faygo

[05/07 18:11:29] The PID of the current process is 3505
[05/07 18:11:29] [fay] Start build...
[05/07 18:11:30] [fay] Build was successful
[05/07 18:11:30] [fay] Starting app: demo
[05/07 18:11:30] [fay] Initializing watcher...
[05/07 18:11:30] [fay] Directory( /Users/xiaoenai/henry/src/github.com/henrylee2cn/faygo/samples/demo/clienttest )
[05/07 18:11:30] [fay] Directory( /Users/xiaoenai/henry/src/github.com/henrylee2cn/faygo/samples/demo/handler )
[05/07 18:11:30] [fay] Directory( /Users/xiaoenai/henry/src/github.com/henrylee2cn/faygo/samples/demo/ )
[05/07 18:11:30] [fay] Directory( /Users/xiaoenai/henry/src/github.com/henrylee2cn/faygo/samples/demo/middleware )
[05/07 18:11:30] [fay] Directory( /Users/xiaoenai/henry/src/github.com/henrylee2cn/faygo/samples/demo/router )
[05/07 18:11:30] [fay] Start was successful

go1.10.1相对go1.10,只是小版本修复bug,不会产生这种严重的兼容问题吧?你再检查一下。