Examples
This repository provides easy to understand code snippets on how to get started with web development with the Go programming language using the Iris web framework.
It doesn't contains "best ways" neither explains all its features. It's just a simple, practical cookbook for young Gophers!
Table of contents
- Overview
- HTTP Listening
- Configuration
- Routing
- MVC
- Custom Context
- Convert http.Handler
- Subdomains
- View
- Authentication
- File Server
- Single Page Applications
- How to Read from *http.Request`
- How to Write to http.ResponseWriter
- Miscellaneous
- Sessions
- Websockets
- Experimental Handlers
Do not forget to star or watch the project in order to stay updated with the latest tech trends, it takes some seconds for the sake of go!
Examples are tested using Windows 7, Ubuntu 16.04 with LiteIDE.
Run
- Install the Go Programming Language, version 1.9 from here.
- Install Iris:
go get -u github.com/kataras/iris
- Download the examples and paste them to your
$GOPATH/src/github.com/iris-contrib/examples
And run
cd $GOPATH/src/github.com/iris-contrib/examples/overview
go run main.go
Any troubles with examples?
https://github.com/iris-contrib/examples/issues
Su, 04 June 2017
This repository is just a minor of the https://github.com/kataras/iris/master/_examples folder.