Giter Club home page Giter Club logo

gogenproject's Introduction

Go-Generate-Project-Structure

This is my personal project structure for Go projects. It is based on the standard Go project structure, but with some additions based on my personal preferences.

Backstory

When i started new Go projects, i always had to create the same folder structure over and over again. So i decided to create a template repository, which i can use to generate a new project structure. So I created this CLI tool, which can be used to generate a new project structure based on this repository. Here My personal Go project structure.

├───cmd
└───internal
    ├───app
    ├───config
    ├───controllers
    ├───domain
    ├───dto
    ├───middleware
    ├───repositories
    ├───routes
    └───services

Usage

To use this CLI tool, you need to have Go installed on your machine. Then you can install the CLI tool with the following command:

go get -u github.com/faruqii/gogenproject

After that, you can use the CLI tool with the following command:

gogenproject -name <project-name>

This will create a new folder with the given project name in your current directory. The folder will contain the project structure.

License

This is an open source project under the MIT license.

gogenproject's People

Contributors

faruqii avatar

Stargazers

mitas avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.