Forked from aquemaati/gogol
Create projects faster than ever !
This project shares the same name and idea as aquemaati/gogol. It is a fork with different features and syntax.
Golang 1.22 or later.
After installing Golang, you will need to install Gogol using:
go install github.com/cramanan/gogol@latest
To create a new project, use:
gogol [language] [flags]
Example:
-
HTML/CSS/JS project with a README.md and a LICENSE.md:
gogol html -rl
-
Golang project with a makefile, dockerfile and a tests folder:
gogol go -tmd
Some languages have subcommands for specific types of projects:
-
Golang web project with an HTTP server:
gogol go web
export / import : The export function exports the inputed directory and saves it into a .json file (e.g.)
gogol export example
creates the file:
{
"name": "untitled",
"directories": {},
"files": {
"go.mod": {
"name": "go.mod",
"content": "bW9kdWxlIHVudGl0bGVkCgpnbyAxLjE5Cg=="
},
"main.go": {
"name": "main.go",
"content": "package main"
}
}
}