Skip to content

Project template for getting started with GopherJS for web apps. Edit the HTML, CSS, and Go and see your changes!

Notifications You must be signed in to change notification settings

gopherjs/gopherpen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gopherpen Build Status GoDoc

Gopherpen is a project template that will let you easily get started with GopherJS for building a web app. It includes some simple HTML, CSS, and Go code for the frontend. Make some changes, and refresh in browser to see results. When there are errors in your frontend Go code, they will show up in the browser console.

Once you're done making changes, you can easily create a fully self-contained static production binary.

Installation

Get the source code for gopherpen and all dependencies, both for production and development modes:

go get -u -d github.com/gopherjs/gopherpen/...
go get -u -d -tags=dev github.com/gopherjs/gopherpen/...
go get -u -d -tags=generate github.com/gopherjs/gopherpen/...

Building

Development Build

Accesses assets from disk directly:

go build -tags=dev

Production Build

All assets are statically embedded in the binary, so it can run standalone in any folder:

go generate
go build

License

About

Project template for getting started with GopherJS for web apps. Edit the HTML, CSS, and Go and see your changes!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages