update module to own version
This commit is contained in:
32
README.md
32
README.md
@@ -1,9 +1,9 @@
|
||||
[](https://github.com/leonelquinteros/gotext)
|
||||
[](https://git.deineagentur.com/DeineAgenturUG/gotext)
|
||||
[](LICENSE)
|
||||
[](https://godoc.org/github.com/leonelquinteros/gotext)
|
||||

|
||||
[](https://godoc.org/git.deineagentur.com/DeineAgenturUG/gotext)
|
||||

|
||||
[](https://travis-ci.org/leonelquinteros/gotext)
|
||||
[](https://goreportcard.com/report/github.com/leonelquinteros/gotext)
|
||||
[](https://goreportcard.com/report/git.deineagentur.com/DeineAgenturUG/gotext)
|
||||
|
||||
# Gotext
|
||||
|
||||
@@ -35,13 +35,13 @@
|
||||
|
||||
# Documentation
|
||||
|
||||
Refer to the Godoc package documentation at (https://godoc.org/github.com/leonelquinteros/gotext)
|
||||
Refer to the Godoc package documentation at (https://godoc.org/git.deineagentur.com/DeineAgenturUG/gotext)
|
||||
|
||||
|
||||
# Installation
|
||||
|
||||
```
|
||||
go get github.com/leonelquinteros/gotext
|
||||
go get git.deineagentur.com/DeineAgenturUG/gotext
|
||||
```
|
||||
|
||||
- There are no requirements or dependencies to use this package.
|
||||
@@ -58,28 +58,28 @@ You can rely on this to use your preferred vendoring tool or to manually retriev
|
||||
|
||||
### Vendoring with [Go Modules](https://github.com/golang/go/wiki/Modules) (Recommended)
|
||||
|
||||
Add `github.com/leonelquinteros/gotext` inside the `require` section in your `go.mod` file.
|
||||
Add `git.deineagentur.com/DeineAgenturUG/gotext` inside the `require` section in your `go.mod` file.
|
||||
|
||||
i.e.
|
||||
```
|
||||
require (
|
||||
github.com/leonelquinteros/gotext v1.4.0
|
||||
git.deineagentur.com/DeineAgenturUG/gotext v1.5.0
|
||||
)
|
||||
```
|
||||
|
||||
|
||||
### Vendoring with [dep](https://golang.github.io/dep/)
|
||||
|
||||
To use last stable version (v1.4.0 at the moment of writing)
|
||||
To use last stable version (v1.5.0 at the moment of writing)
|
||||
|
||||
```
|
||||
dep ensure -add github.com/leonelquinteros/gotext@v1.4.0
|
||||
dep ensure -add git.deineagentur.com/DeineAgenturUG/gotext@v1.5.0
|
||||
```
|
||||
|
||||
Import as
|
||||
|
||||
```go
|
||||
import "github.com/leonelquinteros/gotext"
|
||||
import "git.deineagentur.com/DeineAgenturUG/gotext"
|
||||
```
|
||||
|
||||
|
||||
@@ -155,7 +155,7 @@ For quick/simple translations you can use the package level functions directly.
|
||||
```go
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/leonelquinteros/gotext"
|
||||
"git.deineagentur.com/DeineAgenturUG/gotext"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -179,7 +179,7 @@ Use the fmt.Printf syntax (from Go's "fmt" package) to specify how to print the
|
||||
```go
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/leonelquinteros/gotext"
|
||||
"git.deineagentur.com/DeineAgenturUG/gotext"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -204,7 +204,7 @@ so you can handle each settings on their own.
|
||||
```go
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/leonelquinteros/gotext"
|
||||
"git.deineagentur.com/DeineAgenturUG/gotext"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -241,7 +241,7 @@ you can directly use the Po object to parse it and access the translations in th
|
||||
```go
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/leonelquinteros/gotext"
|
||||
"git.deineagentur.com/DeineAgenturUG/gotext"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -277,7 +277,7 @@ Plural formulas are parsed and evaluated using [Kinako](https://github.com/mattn
|
||||
```go
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/leonelquinteros/gotext"
|
||||
"git.deineagentur.com/DeineAgenturUG/gotext"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
Reference in New Issue
Block a user