_examples/

directory
v0.0.0-...-20f3002 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2017 License: BSD-3-Clause

README

Examples

This folder 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

You may want to check out examples for jwt, cors and the rest of community-maden middleware by clicking here

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!

Developers should read the official documentation in depth, for deep understanding.

Directories

Path Synopsis
advanced
online-visitors command
url-shortener command
Package main shows how you can create a simple URL SHortener using only Iris and BoltDB.
Package main shows how you can create a simple URL SHortener using only Iris and BoltDB.
beginner
basicauth command
e-mail command
favicon command
file-logger command
hello-world command
http-errors command
listening/listen-letsencrypt command
Package main provide one-line integration with letsencrypt.org
Package main provide one-line integration with letsencrypt.org
overview command
pprof command
read-form command
package main contains an example on how to use the ReadForm, but with the same way you can do the ReadJSON & ReadJSON
package main contains an example on how to use the ReadForm, but with the same way you can do the ReadJSON & ReadJSON
read-json command
recover command
request-logger command
routing command
routing/basic command
routing/reverse command
send-files command
stream-writer command
upload-files command
write-json command
intermediate
cache-markdown command
cloud-editor command
httptest command
i18n command
oauth2 command
route-state command
subdomains/single command
Package main register static subdomains, simple as parties, check ./hosts if you use windows
Package main register static subdomains, simple as parties, check ./hosts if you use windows
subdomains/wildcard command
Package main an example on how to catch dynamic subdomains - wildcard.
Package main an example on how to catch dynamic subdomains - wildcard.
subdomains/www command
transactions command
typescript command
view/context-view-data command
this example will show you how you can set per-request data for a template outside of the main handler which calls the .Render, via middleware.
this example will show you how you can set per-request data for a template outside of the main handler which calls the .Render, via middleware.
view/overview command
view/template_html_3 command
Package main an example on how to naming your routes & use the custom 'url path' HTML Template Engine, same for other template engines.
Package main an example on how to naming your routes & use the custom 'url path' HTML Template Engine, same for other template engines.
view/template_html_4 command
Package main an example on how to naming your routes & use the custom 'url' HTML Template Engine, same for other template engines.
Package main an example on how to naming your routes & use the custom 'url' HTML Template Engine, same for other template engines.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL