Skip to content

go get 失败 #1

@luckypoem

Description

@luckypoem

在linux vps上。
cd $GOPATH
go get -u -v github.com/cuigh/xdoc/
显示:
...
pkg/mod/github.com/cuigh/xdoc@v0.0.0-20181029075348-626429247280/main.go:32:13: cannot use func literal (type func(*app.Context)) as type func(*app.Context) error in assignment
pkg/mod/github.com/cuigh/xdoc@v0.0.0-20181029075348-626429247280/main.go:53:8: not enough arguments in call to s.File
have (string, string)
want (string, http.FileSystem, string, ...web.Filter)
pkg/mod/github.com/cuigh/xdoc@v0.0.0-20181029075348-626429247280/main.go:54:10: not enough arguments in call to s.Static
have (string, string)
want (string, http.FileSystem, string, ...web.Filter)
pkg/mod/github.com/cuigh/xdoc@v0.0.0-20181029075348-626429247280/main.go:55:10: not enough arguments in call to s.Static
have (string, string)
want (string, http.FileSystem, string, ...web.Filter)
pkg/mod/github.com/cuigh/xdoc@v0.0.0-20181029075348-626429247280/main.go:56:10: not enough arguments in call to s.Static
have (string, string)
want (string, http.FileSystem, string, ...web.Filter)
pkg/mod/github.com/cuigh/xdoc@v0.0.0-20181029075348-626429247280/main.go:78:32: undefined: blackfriday.Run

怎么解决?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions