Comments (3)
its work
func main() {
mux := http.NewServeMux()
Admin.MountTo("/admin", mux)
mux.HandleFunc("/login", controllers.LoginHandler)
mux.HandleFunc("/logout", controllers.LogoutHandler)
beego.Handler("/admin/*", mux)
beego.Handler("/admin", mux)
beego.Handler("/login", mux)
beego.Handler("/logout", mux)
beego.SetStaticPath("/system", "public/system")
beego.SetStaticPath("/assets", "public/assets")
beego.Router("/books/", &controllers.ListBooksController{})
beego.Router("/books/:id", &controllers.ViewBooksController{})
beego.Run()
}
from qor.
good to see it works ;)
from qor.
Thanks a lot! Now it works...
from qor.
Related Issues (20)
- use Go module install dependency package, /admin request error HOT 5
- 性能怎么这么差
- 請教下如何實現beego和你們的example對接呢
- RTL Support
- https://payments-jp-sandbox.amazon.com/gp/widgets/sessionstabilizer请求超时
- unfortunately qor-admin without qor-auth is unusable !
- Get start documentation is trash HOT 4
- How to show entries from external DB (GRPC) HOT 1
- How divion (or multiplication) value
- SQLBoiler integration
- Not able to implement multiple filters in QOR using database queries HOT 1
- Using filters in a sub resource HOT 1
- Proposal: Please start using Semantic Versioning HOT 3
- In multiple models, how to make him pre-load at one time instead of reading one by one. For example, add HOT 1
- Virtual field shows wrong value when a related column is hidden HOT 3
- Setting belongs_to / many_to_many relationships broken if using bigint/uint64 as ids HOT 7
- How about upgrade `GORM` to v2 HOT 3
- Commercial support
- github.com/qor/qor/resource/crud.go:64:27: scope.PrimaryField undefined (type *"gorm.io/gorm".Statement has no field or method PrimaryField)
- Tested documenation example from go1.15-1.18, get nil pointer dereference HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qor.