examples

command module
v0.0.0-...-2c8abad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2022 License: MIT Imports: 15 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
ent module
gorm module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL