pppercywang / iris-gorm-demo Goto Github PK
View Code? Open in Web Editor NEWiris+gorm+mysql的restful api项目起手式
iris+gorm+mysql的restful api项目起手式
middleware/jwt.go:26:3: cannot use func literal (type func("github.com/kataras/iris/context".Context, string)) as type "github.com/iris-contrib/middleware/jwt".errorHandler in field value
倒腾一下午,最后还是不行
func NewBookService() BookService{
return &bookService{}
}
大佬你好,看到你使用了以上的内容,我有点不太明白这样的原理是什么。。。为什么不会报空指针?
middleware/jwt.go:27:3: cannot use func literal (type func("github.com/kataras/iris/context".Context, string)) as type "github.com/iris-contrib/middleware/jwt".errorHandler in field value
go: finding github.com/iris-contrib/middleware/cors latest
go: finding github.com/modern-go/concurrent latest
build _/Users/knight/repository/iris-gorm-demo/conf: cannot find module for path _/Users/knight/repository/iris-gorm-demo/conf
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.