README ¶ Example project combination of go-saas,gin,gorm(sqlite) go run github.com/goxiaoy/go-saas/examples Host side ( use shared database): Open http://localhost:8080/posts Multi-tenancy ( use shared database): Open http://localhost:8080/posts?__tenant=1 Open http://localhost:8080/posts?__tenant=2 Single-tenancy ( use separate database): Open http://localhost:8080/posts?__tenant=3 Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files example.go migration.go post.go seed.go tenant.go uow.go Directories ¶ Show internal Expand all Path Synopsis ent module gorm module Click to show internal directories. Click to hide internal directories.