• Stars
    star
    695
  • Rank 62,662 (Top 2 %)
  • Language
    Go
  • License
    MIT License
  • Created about 8 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This repository contains small and practical examples for the Iris Web Framework.

Examples

Build Status License CHANGELOG/HISTORY

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. This branch contains the latest iris master examples. For the stable's version examples navigate through the v12 branch.

To read the Iris documentation please navigate to the wiki pages instead.

Examples are tested using Windows 11, Ubuntu 22.04 LTS, macOS 12 Monterey with Microsoft's Visual Studio Code and built using the Go 1.19.3.

Table of Contents

Run

  1. Install the Go Programming Language, version 1.18+ from here.
  2. Download the examples and copy-paste them to your $GOPATH/src/github.com/iris-contrib/examples
  3. Install Iris with go get -u github.com/kataras/iris/[email protected]

To run an example, open a terminal session and execute:

$ cd $GOPATH/src/github.com/iris-contrib/examples/compression
$ go mod init
$ go run main.go

Do not forget to star or watch the Iris project.

Any troubles with examples?

https://github.com/iris-contrib/examples/issues