1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-08 12:31:58 +00:00
Former-commit-id: fe6305deed00e170bf4d39a12c0644fe686e0a24
This commit is contained in:
Gerasimos (Makis) Maropoulos
2018-10-21 19:20:05 +03:00
parent dbba631df4
commit 3962710d3d
109 changed files with 4383 additions and 2658 deletions

View File

@@ -2,7 +2,7 @@
//
// Article: https://medium.com/@kataras/a-url-shortener-service-using-go-iris-and-bolt-4182f0b00ae7
//
// $ go get github.com/coreos/bbolt
// $ go get github.com/etcd-io/bbolt
// $ go get github.com/satori/go.uuid
// $ cd $GOPATH/src/github.com/kataras/iris/_examples/tutorial/url-shortener
// $ go build

View File

@@ -3,7 +3,7 @@ package main
import (
"bytes"
"github.com/coreos/bbolt"
bolt "github.com/etcd-io/bbolt"
)
// Panic panics, change it if you don't want to panic on critical INITIALIZE-ONLY-ERRORS

View File

@@ -27,7 +27,7 @@ Many articles have been written, in the past, that lead developers not to use a
Youll need two dependencies:
1. Vue.js, for our client-side requirements. Download it from [here](https://vuejs.org/), latest v2.
2. The Iris Web Framework, for our server-side requirements. Can be found [here](https://github.com/kataras/iris), latest v10.
2. The Iris Web Framework, for our server-side requirements. Can be found [here](https://github.com/kataras/iris), latest v11.
> If you have Go already installed then just execute `go get -u github.com/kataras/iris` to install the Iris Web Framework.
@@ -530,7 +530,7 @@ func main() {
todosApp.Handle(new(controllers.TodoController))
// start the web server at http://localhost:8080
app.Run(iris.Addr(":8080"), iris.WithoutVersionChecker)
app.Run(iris.Addr(":8080"))
}
```

View File

@@ -51,5 +51,5 @@ func main() {
todosApp.Handle(new(controllers.TodoController))
// start the web server at http://localhost:8080
app.Run(iris.Addr(":8080"), iris.WithoutVersionChecker)
app.Run(iris.Addr(":8080"))
}