update module to own version

This commit is contained in:
2020-07-27 18:17:50 +02:00
parent 2441e55972
commit b4ab6497b5
11 changed files with 58 additions and 58 deletions

View File

@@ -1,9 +1,9 @@
[![GitHub release](https://img.shields.io/github/release/leonelquinteros/gotext.svg)](https://github.com/leonelquinteros/gotext)
[![GitHub release](https://img.shields.io/github/release/leonelquinteros/gotext.svg)](https://git.deineagentur.com/DeineAgenturUG/gotext)
[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![GoDoc](https://godoc.org/github.com/leonelquinteros/gotext?status.svg)](https://godoc.org/github.com/leonelquinteros/gotext)
![Gotext build](https://github.com/leonelquinteros/gotext/workflows/Gotext%20build/badge.svg?branch=master)
[![GoDoc](https://godoc.org/git.deineagentur.com/DeineAgenturUG/gotext?status.svg)](https://godoc.org/git.deineagentur.com/DeineAgenturUG/gotext)
![Gotext build](https://git.deineagentur.com/DeineAgenturUG/gotext/workflows/Gotext%20build/badge.svg?branch=master)
[![Build Status](https://travis-ci.org/leonelquinteros/gotext.svg?branch=master)](https://travis-ci.org/leonelquinteros/gotext)
[![Go Report Card](https://goreportcard.com/badge/github.com/leonelquinteros/gotext)](https://goreportcard.com/report/github.com/leonelquinteros/gotext)
[![Go Report Card](https://goreportcard.com/badge/git.deineagentur.com/DeineAgenturUG/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() {