Skip to content

jom-io/gorig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gorig Ask DeepWiki

Gorig is a comprehensive web service framework based on the Go programming language. It provides a complete development model and toolchain. You can quickly create a new project or module using gorig-cli.

📚 Project Wiki: https://deepwiki.com/jom-io/gorig
🔧 Operations Dashboard: https://github.com/jom-io/gorig-om

Direct Installation

go get github.com/jom-io/gorig@latest

Using gorig-cli

Install globally via npm:

npm install -g gorig-cli

Or run directly using npx:

npx gorig-cli@latest <command>

Quick Start

Initialize a New Project

Use the init command to create a new project:

gorig-cli init my-new-project

Or use npx:

npx gorig-cli@latest init my-new-project

This will create a new project in the current directory, including basic files and directories such as _cmd/main.go, domain/init.go, and cron/cron.go.

Create a New Module

Create a new module using the create command from the project's root directory:

gorig-cli create user

Or use npx:

npx gorig-cli@latest create user

This will create a module named user, including directories such as api/, internal/, model/, and essential boilerplate code.

Running the Project

Navigate to your project directory and run the project using:

cd my-new-project
go run _cmd/main.go

Or compile and run:

go build -o my-new-project _cmd/main.go && ./my-new-project

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages