From 54bef51eb9a9c679e72437e875df908bb8c30f80 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Fri, 10 Jul 2020 23:37:01 +0300 Subject: [PATCH] minor: examples: use the master version on go example-modules Former-commit-id: 9e86a50f53e479843f20ab0025baf56a85902bcf --- _examples/apidoc/yaag/go.mod | 2 +- _examples/database/mongodb/go.mod | 2 +- _examples/database/mysql/go.mod | 2 +- _examples/dependency-injection/jwt/contrib/go.mod | 5 +++++ _examples/kafka-api/go.mod | 2 +- _examples/mvc/overview/go.mod | 2 +- _examples/websocket/basic/go.mod | 5 +++++ _examples/websocket/socketio/go.mod | 2 +- 8 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 _examples/dependency-injection/jwt/contrib/go.mod create mode 100644 _examples/websocket/basic/go.mod diff --git a/_examples/apidoc/yaag/go.mod b/_examples/apidoc/yaag/go.mod index 76eb8fbc..b38a8e79 100644 --- a/_examples/apidoc/yaag/go.mod +++ b/_examples/apidoc/yaag/go.mod @@ -4,5 +4,5 @@ go 1.14 require ( github.com/betacraft/yaag v1.0.1-0.20191027021412-565f65e36090 - github.com/kataras/iris/v12 v12.2.0 + github.com/kataras/iris/v12 v12.1.9-0.20200710202109-5d80ecac5371 ) diff --git a/_examples/database/mongodb/go.mod b/_examples/database/mongodb/go.mod index c723b6bc..d75e6fe7 100644 --- a/_examples/database/mongodb/go.mod +++ b/_examples/database/mongodb/go.mod @@ -4,6 +4,6 @@ go 1.14 require ( github.com/joho/godotenv v1.3.0 - github.com/kataras/iris/v12 v12.2.0 + github.com/kataras/iris/v12 v12.1.9-0.20200710202109-5d80ecac5371 go.mongodb.org/mongo-driver v1.3.4 ) diff --git a/_examples/database/mysql/go.mod b/_examples/database/mysql/go.mod index 27f3b433..4e7f1a55 100644 --- a/_examples/database/mysql/go.mod +++ b/_examples/database/mysql/go.mod @@ -4,6 +4,6 @@ go 1.14 require ( github.com/go-sql-driver/mysql v1.5.0 - github.com/kataras/iris/v12 v12.2.0 + github.com/kataras/iris/v12 v12.1.9-0.20200710202109-5d80ecac5371 github.com/mailgun/groupcache/v2 v2.1.0 ) diff --git a/_examples/dependency-injection/jwt/contrib/go.mod b/_examples/dependency-injection/jwt/contrib/go.mod new file mode 100644 index 00000000..0378cdf5 --- /dev/null +++ b/_examples/dependency-injection/jwt/contrib/go.mod @@ -0,0 +1,5 @@ +module github.com/kataras/iris/_examples/dependency-injection/jwt/contrib + +go 1.14 + +require github.com/iris-contrib/middleware/jwt v0.0.0-20200710202437-92b01b85baaf diff --git a/_examples/kafka-api/go.mod b/_examples/kafka-api/go.mod index 359adcf6..662641fc 100644 --- a/_examples/kafka-api/go.mod +++ b/_examples/kafka-api/go.mod @@ -4,5 +4,5 @@ go 1.14 require ( github.com/Shopify/sarama v1.26.4 - github.com/kataras/iris/v12 v12.2.0 + github.com/kataras/iris/v12 v12.1.9-0.20200710202109-5d80ecac5371 ) diff --git a/_examples/mvc/overview/go.mod b/_examples/mvc/overview/go.mod index 6dc27d95..293e15d1 100644 --- a/_examples/mvc/overview/go.mod +++ b/_examples/mvc/overview/go.mod @@ -2,4 +2,4 @@ module app go 1.14 -require github.com/kataras/iris/v12 v12.1.9-0.20200621141528-f6355c9716ab +require github.com/kataras/iris/v12 v12.1.9-0.20200710202109-5d80ecac5371 diff --git a/_examples/websocket/basic/go.mod b/_examples/websocket/basic/go.mod new file mode 100644 index 00000000..8a540180 --- /dev/null +++ b/_examples/websocket/basic/go.mod @@ -0,0 +1,5 @@ +module github.com/kataras/iris/_examples/websocket/basic + +go 1.14 + +require github.com/iris-contrib/middleware/jwt v0.0.0-20200710202437-92b01b85baaf \ No newline at end of file diff --git a/_examples/websocket/socketio/go.mod b/_examples/websocket/socketio/go.mod index 4e936eb4..cb53249d 100644 --- a/_examples/websocket/socketio/go.mod +++ b/_examples/websocket/socketio/go.mod @@ -4,5 +4,5 @@ go 1.14 require ( github.com/googollee/go-socket.io v1.4.3-0.20191109153049-7451e2f8c2e0 - github.com/kataras/iris/v12 v12.2.0 + github.com/kataras/iris/v12 v12.1.9-0.20200710202109-5d80ecac5371 )