Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

一个gin的例子,运行看起来像这样 #19

Closed
ghostry opened this issue Mar 12, 2019 · 3 comments
Closed

一个gin的例子,运行看起来像这样 #19

ghostry opened this issue Mar 12, 2019 · 3 comments

Comments

@ghostry
Copy link

ghostry commented Mar 12, 2019

go run main.go 
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.

[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:	export GIN_MODE=release
 - using code:	gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /uploads/*filepath        --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (3 handlers)
[GIN-debug] HEAD   /uploads/*filepath        --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (3 handlers)
[GIN-debug] GET    /admin/login              --> github.com/chenhg5/go-admin/adapter/gin.(*Gin).Use.func1 (3 handlers)
[GIN-debug] POST   /admin/signin             --> github.com/chenhg5/go-admin/adapter/gin.(*Gin).Use.func1 (3 handlers)
[GIN-debug] GET    /admin/install            --> github.com/chenhg5/go-admin/adapter/gin.(*Gin).Use.func1 (3 handlers)
[GIN-debug] POST   /admin/install/database/check --> github.com/chenhg5/go-admin/adapter/gin.(*Gin).Use.func1 (3 handlers)
[GIN-debug] GET    /admin/assets/Ionicons/css/ionicons.css --> github.com/chenhg5/go-admin/adapter/gin.(*Gin).Use.func1 (3 handlers)
...
[GIN-debug] GET    /admin/logout             --> github.com/chenhg5/go-admin/adapter/gin.(*Gin).Use.func1 (3 handlers)
[GIN-debug] GET    /admin/menu               --> github.com/chenhg5/go-admin/adapter/gin.(*Gin).Use.func1 (3 handlers)
[GIN-debug] POST   /admin/menu/delete        --> github.com/chenhg5/go-admin/adapter/gin.(*Gin).Use.func1 (3 handlers)
[GIN-debug] POST   /admin/menu/new           --> github.com/chenhg5/go-admin/adapter/gin.(*Gin).Use.func1 (3 handlers)
[GIN-debug] POST   /admin/menu/edit          --> github.com/chenhg5/go-admin/adapter/gin.(*Gin).Use.func1 (3 handlers)
[GIN-debug] GET    /admin/menu/edit/show     --> github.com/chenhg5/go-admin/adapter/gin.(*Gin).Use.func1 (3 handlers)
[GIN-debug] POST   /admin/menu/order         --> github.com/chenhg5/go-admin/adapter/gin.(*Gin).Use.func1 (3 handlers)
[GIN-debug] GET    /admin/info/:prefix       --> github.com/chenhg5/go-admin/adapter/gin.(*Gin).Use.func1 (3 handlers)
[GIN-debug] GET    /admin/info/:prefix/edit  --> github.com/chenhg5/go-admin/adapter/gin.(*Gin).Use.func1 (3 handlers)
[GIN-debug] GET    /admin/info/:prefix/new   --> github.com/chenhg5/go-admin/adapter/gin.(*Gin).Use.func1 (3 handlers)
[GIN-debug] POST   /admin/edit/:prefix       --> github.com/chenhg5/go-admin/adapter/gin.(*Gin).Use.func1 (3 handlers)
[GIN-debug] POST   /admin/delete/:prefix     --> github.com/chenhg5/go-admin/adapter/gin.(*Gin).Use.func1 (3 handlers)
[GIN-debug] POST   /admin/new/:prefix        --> github.com/chenhg5/go-admin/adapter/gin.(*Gin).Use.func1 (3 handlers)
[GIN-debug] Listening and serving HTTP on :5678
[GIN] 2019/03/12 - 05:49:46 | 404 |        16.7µs |      172.17.0.1 | GET      /admin
[GIN] 2019/03/12 - 05:49:51 | 404 |        14.1µs |      172.17.0.1 | GET      /admin
@chenhg5
Copy link
Collaborator

chenhg5 commented Mar 14, 2019

@ghostry 配置是怎样的呢,前缀设置的是admin吗

@ghostry
Copy link
Author

ghostry commented Mar 14, 2019

按照readme做的.修改了mysql的相关配置和run端口号,其他没改,

@chenhg5
Copy link
Collaborator

chenhg5 commented Aug 2, 2020

问题太久而且无法重现。

@chenhg5 chenhg5 closed this as completed Aug 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants