Skip to content

goyeh/Template-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template-API

To make a new Go App follow the steps.

  1. Create Git repo with a read me.
  2. Clone to local drive or folder
  3. Copy this project and directories to the new folder.
  4. commit and push. Alternativly
  5. Forl this template to your new project name in github
  6. clone your project,
  7. follow the steps below,

Now the set up

  1. Terminal in Home folder and run the commands
    1. go mod init [your app name]
    2. go mod tidy example:
    go mod init template-api
    go mod tidy
    
  2. Program should compile, and if you import any more modules, just run go mod tidy
  3. Now is a good time to comit and push your code.

Releases

No releases published

Packages

No packages published