gowebexamples/gowebexamples
Go Web Examples Generator
repo name | gowebexamples/gowebexamples |
repo link | https://github.com/gowebexamples/gowebexamples |
homepage | https://gowebexamples.com/ |
language | HTML |
size (curr.) | 1315 kB |
stars (curr.) | 245 |
created | 2017-02-04 |
license | MIT License |
Go Web Examples
Go Web Examples provides easy to understand snippets on how to do web development in Go and is inspired by Go By Example, which has a great introduction into the fundamentals of this language.
Go Web Examples is hosted on: https://gowebexamples.com/
Examples
There are currently tutorials and examples of the following topics:
- Hello World
- HTTP Server
- Routing (using gorilla/mux)
- Templates
- Requests and Forms
- Assets and Files
- Basic Middleware
- Advanced Middleware
- Sessions
- JSON
- Websockets
- Password Hashing (bcrypt)
Building
The site is built using the Hugo static site generator.
The source codes to the examples can be found in the content
directory.
When you build the site using the hugo
command, the output files will be generated into the public
directory.
To build this site Hugo and Python (with pygments
installed) will be required.
$ git clone https://github.com/gowebexamples/gowebexamples.git
$ cd gowebexamples
$ hugo
Thanks
Thanks to Go By Example for the inspiration to this project.
License
MIT