goweb
goweb copied to clipboard
go run main.go报错
app.StaticServe undefined (type *iris.Application has no field or method StaticServe) 为啥我的main.go 11行调用的iris StaticServe没有这个方法
找到原因了 我的iris包里面没有StaticServe这个方法 改为HandleDir就行了