Skip to content

serge-v/zero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zero

Build and deploy golang application in a second.

Usage

Add to your application:

var deploy = flag.Bool("deploy", false, "deploy to zero environment")

func main() {
	flag.Parse()

	if *deploy {
		if err := zero.Deploy(8095); err != nil {
			log.Fatal(err)
		}
	}

	println("hello world")	
}

Run:

go build && ./myapp -deploy

About

Easy deploy and host single golang app

Resources

License

Stars

Watchers

Forks

Packages

No packages published