Skip to content

Golang template project and test setup for Google App Engine

License

Notifications You must be signed in to change notification settings

v3nom/go_gae_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang project template for Google App Engine

Golang import path resolution might be quite confusing to newcomers and it gets even more so when you try to run on Google App Engine. This project template and setup guide should help programmers to start coding and deploying from day one.

#Golang template project checklist

  • runs some code
  • scalable structure
  • unit testing

#Setup I assume that Google App Engine Go SDK & Go SDK are installed and required folders are added to your PATH.

Folder structure

TODO

App name

Open app.yaml and change "application: test" to "application: myAppName"

#Runing cd to app folder (folder with app.yaml file) and execute:

goapp serve

#Testing cd to project folder and execute:

goapp test ./... 

#Deploying cd to app folder (folder with app.yaml file) and execute:

goapp deploy

About

Golang template project and test setup for Google App Engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages