Skip to content

Commit 0aa6325

Browse files
committed
update examples for latest Iris release
1 parent 7e6bb47 commit 0aa6325

File tree

158 files changed

+8444
-4935
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+8444
-4935
lines changed

README.md

+5-8
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
This repository provides easy to understand code snippets on how to get started with web development with the Go programming language using the [Iris](https://github.com/kataras/iris) web framework. This branch contains the latest [iris master examples](github.com/kataras/iris/tree/master/examples). For the stable's version examples navigate through the [v12 branch](https://github.com/iris-contrib/examples/tree/v12).
1010

11-
To read the Iris documentation please navigate to [the wiki pages](https://github.com/kataras/iris/wiki) instead.
11+
To read the Iris documentation please navigate to [the documentation](https://iris-go.com/docs) instead.
1212

13-
> Examples are tested using Windows 11, Ubuntu 22.04 LTS, macOS 12 Monterey with [Microsoft's Visual Studio Code](https://code.visualstudio.com/) and built using the [Go 1.19.3](https://go.dev/dl/).
13+
> Examples are tested using Windows 11, Ubuntu 23.04 LTS, macOS 13 Ventura with [Microsoft's Visual Studio Code](https://code.visualstudio.com/) and built using the [Go 1.21.0](https://go.dev/dl/).
1414
1515
# Table of Contents
1616

@@ -31,6 +31,8 @@ To read the Iris documentation please navigate to [the wiki pages](https://githu
3131
* [Gorm](database/orm/gorm/main.go)
3232
* [Reform](database/orm/reform/main.go)
3333
* [x/sqlx](database/sqlx/main.go) **NEW**
34+
* GraphQL
35+
* [GraphQL: schema-first](graphql/schema-first) **NEW**
3436
* HTTP Server
3537
* [HOST:PORT](http-server/listen-addr/main.go)
3638
* [Public Test Domain](http-server/listen-addr-public/main.go)
@@ -119,7 +121,6 @@ To read the Iris documentation please navigate to [the wiki pages](https://githu
119121
* [Root and Proxy AccessLog instances](logging/request-logger/accesslog-proxy/main.go)
120122
* [Slack integration example](logging/request-logger/accesslog-slack/main.go)
121123
* API Documentation
122-
* [Yaag](apidoc/yaag/main.go)
123124
* [Swagger](https://github.com/iris-contrib/swagger/tree/master/_examples/basic)
124125
* Testing
125126
* [Testing with httptest](testing/httptest/main_test.go)
@@ -150,7 +151,6 @@ To read the Iris documentation please navigate to [the wiki pages](https://githu
150151
* [Overview](view/overview/main.go)
151152
* [Layout](view/layout)
152153
* [Ace](view/layout/ace)
153-
* [Amber](view/layout/amber)
154154
* [Blocks](view/layout/blocks)
155155
* [Django](view/layout/django)
156156
* [Handlebars](view/layout/handlebars)
@@ -172,7 +172,6 @@ To read the Iris documentation please navigate to [the wiki pages](https://githu
172172
* Parse a Template from Text
173173
* [HTML, Pug and Ace](view/parse-parse/main.go)
174174
* [Django](view/parse-parse/django/main.go)
175-
* [Amber](view/parse-parse/amber/main.go)
176175
* [Jet](view/parse-parse/jet/main.go)
177176
* [Handlebars](view/parse-parse/handlebars/main.go)
178177
* [Blocks](view/template_blocks_0)
@@ -182,8 +181,6 @@ To read the Iris documentation please navigate to [the wiki pages](https://githu
182181
* [Pug Embedded`](view/template_pug_2_embedded)
183182
* [Ace](view/template_ace_0)
184183
* [Django](view/template_django_0)
185-
* [Amber](view/template_amber_0)
186-
* [Amber Embedded](view/template_amber_1_embedded)
187184
* [Jet](view/template_jet_0)
188185
* [Jet Embedded](view/template_jet_1_embedded)
189186
* [Jet 'urlpath' tmpl func](view/template_jet_2)
@@ -324,7 +321,7 @@ To read the Iris documentation please navigate to [the wiki pages](https://githu
324321

325322
1. Install the Go Programming Language, version 1.18+ from [here](https://go.dev/dl/).
326323
2. [Download the examples](https://github.com/iris-contrib/examples/archive/master.zip) and copy-paste them to your `$GOPATH/src/github.com/iris-contrib/examples`
327-
3. Install Iris with `go get -u github.com/kataras/iris/[email protected].0-beta6`
324+
3. Install Iris with `go get -u github.com/kataras/iris/[email protected].4`
328325

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

apidoc/yaag/go.mod

-55
This file was deleted.

0 commit comments

Comments
 (0)