gendomain

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: MIT Imports: 4 Imported by: 0

README

Gogen Domain

Calling gogen domain yourdomainname will

  • Provide all those files

    ├── Dockerfile
    ├── README.md
    ├── config.json
    ├── config.sample.json
    ├── docker-compose.yml
    ├── domain_yourdomainname
    │   └── README.md
    ├── go.mod
    └── gitignore
    
  • Generate unique random secret key for your application in config.json

  • Copy the basic template for controller, gateway and crud

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(inputs ...string) error

Types

type ObjTemplate

type ObjTemplate struct {
	ExecutableName string
	PackagePath    string
	GomodPath      string
	DefaultDomain  string
	DomainName     string
	SecretKey      string
}

ObjTemplate ...

Jump to

Keyboard shortcuts

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