GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - blackmarllborooo/create-project-struct: A cli tool to create the structure of your project

BranchesTags
Open more actions menu

Latest commit

 

History

31 Commits
31 Commits

Folders and files

NameName
Last commit message
Last commit date
cmd
cmd
 
 
internal
internal
 
 
pkg
pkg
 
 
.gitignore
.gitignore
 
 
.golangci.yml
.golangci.yml
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 

Repository files navigation

create-project-struct

You no longer have to think about creating the structure of your application yourself!

About

This is a cli tool will create the base dirs and files of your app for you. The base structure is taken from this repository.

How it works?

You must have Golang & Make installed to run the build. Clone the repository on your locale machine, open a terminal in the current dir and run the go mod tidy command. Then in a terminal with the same dir, run the command sudo make exec. Once finished, you can use the program by calling it in the terminal with the command cps.

Launch parameters

It's very simple! To create a project in the current directory, simply call cps ., and to create project in a new directory, simply write what you want your project to be called. For example cps my-app.

What does this program?

  1. Basic structure taken from the standards;
  2. Layout of the main file;
  3. File go.mod with project name;
  4. Makefile with parameters:
    1. build: builds the application;
    2. run: start the app in dev mode;
    3. test: rub all tests;
    4. lint: checks your project for design errors;
  5. Creates a local repository;
  6. Create a configuration file for golangci-lint;

What is expected next?

Expected in upcoming updates:

  1. Building the project in PKGBUILD;
  2. Add some flags to select the type of project, some values (eg port for the server) in the terminal;

Conclusion

If you have any suggestions for changed or improving the current project or would like to help | participate, you can contact me at:

  1. [email protected]
  2. t.me/blackmarllbor0

If you liked the project or found it useful, give it a star! See you soon!

About

A cli tool to create the structure of your project

Topics

app-collectorclean-architectureclicollectorcreate-appcreate-projectgolang

Resources

Readme
Activity

Stars

17 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.