1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-17 00:45:55 +00:00

Happy weekend! Due the latest news we have a single change for your own safety. iris.AutoTLS users should pass all the necessary information now, these are the recommended by letsencrypt.

Iris devs should declare all the information now, there is no option to "leave something out" anymore, it's for your own good. Version is not changed yet, giving you time to see that changelog and do the necessary changes to your codebase. Happy weekend!


Former-commit-id: 490ce14a1022a2b81d347d7f59c2bb5412cfcdf2
This commit is contained in:
kataras
2017-08-26 01:28:30 +03:00
parent 878acec003
commit 83fbef2d2f
4 changed files with 172 additions and 49 deletions

View File

@@ -135,11 +135,13 @@ $ go run main.go
<details>
<summary>Hello World with Go 1.9</summary>
If you've installed Go 1.9 then you can omit the `github.com/kataras/iris/context` package from the imports statement.
Go 1.9 just released.
Dcumentation and examples will be updated soon to use the already-type aliases inside the framework, such as `iris.Context` instead of the origin pacage.
If you've installed [Go 1.9](https://golang.org/dl) then you can omit the `github.com/kataras/iris/context` package from the imports statement.
```go
// +build go1.9
package main
import "github.com/kataras/iris"
@@ -157,19 +159,6 @@ func main() {
}
```
We expect Go version 1.9 to be released in August, however you can install Go 1.9 RC2 today.
### Installing Go 1.9rc2
1. Go to https://golang.org/dl/#go1.9rc2
2. Download a compatible, with your OS, archive or executable, i.e `go1.9rc2.windows-amd64.zip`
3. Unzip the contents of `go1.9rc2.windows-amd64.zip` folder to your $GOROOT, i.e `C:\Go` or just execute the executable you've just download
4. Open a terminal and execute `go version`, it should output the go1.9rc2 version, i.e:
```sh
C:\Users\kataras>go version
go version go1.9rc2 windows/amd64
```
</details>
<details>