|
|
@@ -9,7 +9,7 @@ Ease of Accessing Environment Varaibles. |
|
|
|
## Installation |
|
|
|
|
|
|
|
```shell |
|
|
|
$ go get -v github.com/goanywhere/env |
|
|
|
$ go get -v git.thevis.us/skepto/env |
|
|
|
``` |
|
|
|
|
|
|
|
## Usage |
|
|
@@ -40,8 +40,8 @@ All set now, you are good to Go :-) |
|
|
|
package main |
|
|
|
|
|
|
|
import ( |
|
|
|
"github.com/goanywhere/env" |
|
|
|
"github.com/goanywhere/rex" |
|
|
|
"git.thevis.us/skepto/env" |
|
|
|
"git.thevis.us/skepto/rex" |
|
|
|
) |
|
|
|
|
|
|
|
func index (ctx *rex.Context) { |
|
|
@@ -66,7 +66,7 @@ You will now have the HTTP server running on `0.0.0.0:9394`. |
|
|
|
``` go |
|
|
|
import ( |
|
|
|
"fmt" |
|
|
|
"github.com/goanywhere/env" |
|
|
|
"git.thevis.us/skepto/env" |
|
|
|
) |
|
|
|
|
|
|
|
func main() { |
|
|
@@ -83,7 +83,7 @@ package main |
|
|
|
|
|
|
|
import ( |
|
|
|
"fmt" |
|
|
|
"github.com/goanywhere/env" |
|
|
|
"git.thevis.us/skepto/env" |
|
|
|
) |
|
|
|
|
|
|
|
type Spec struct { |
|
|
@@ -115,7 +115,7 @@ package main |
|
|
|
import ( |
|
|
|
"fmt" |
|
|
|
|
|
|
|
"github.com/goanywhere/env" |
|
|
|
"git.thevis.us/skepto/env" |
|
|
|
) |
|
|
|
|
|
|
|
func main() { |