Skip to content

Commit f069444

Browse files
committed
内网地址修改为github地址
1 parent f8106a5 commit f069444

File tree

13 files changed

+15
-15
lines changed

13 files changed

+15
-15
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ Random data generator written in go
1717

1818
## Installation
1919
```go
20-
go get github.com/tinygg/faker/v0
20+
go get github.com/tinygg/faker
2121
```
2222

2323
## Example
2424
```go
25-
import "github.com/tinygg/faker/v0"
25+
import "github.com/tinygg/faker"
2626

2727
gofakeit.Seed(0)
2828

@@ -42,7 +42,7 @@ gofakeit.CurrencyShort() // USD
4242

4343
## Example Struct
4444
```go
45-
import "github.com/tinygg/faker/v0"
45+
import "github.com/tinygg/faker"
4646

4747
// Create structs with random injected data
4848
type Foo struct {

cmd/gofakeit/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All functions are available to run in lowercase and if they require additional p
44

55
### Installation
66
```go
7-
go get github.com/tinygg/faker/v0
7+
go get github.com/tinygg/faker
88
```
99

1010
### Example

cmd/gofakeit/gofakeit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package main
22

33
import (
44
"fmt"
5-
gofakeit "github.com/tinygg/faker/v0"
5+
gofakeit "github.com/tinygg/faker"
66
"os"
77
"sort"
88
"strings"

cmd/gofakeitserver/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All functions are available to run in lowercase as first path and if they take i
44

55
### Installation
66
```go
7-
go get github.com/tinygg/faker/v0
7+
go get github.com/tinygg/faker
88
```
99

1010
### Example

cmd/gofakeitserver/init_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"strings"
1313
"testing"
1414

15-
gofakeit "github.com/tinygg/faker/v0"
15+
gofakeit "github.com/tinygg/faker"
1616
)
1717

1818
var ts *httptest.Server

cmd/gofakeitserver/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"errors"
77
"flag"
88
"fmt"
9-
gofakeit "github.com/tinygg/faker/v0"
9+
gofakeit "github.com/tinygg/faker"
1010
"net/http"
1111
"reflect"
1212
"strings"

cmd/gofakeitserver/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package main
22

33
import (
44
"fmt"
5-
gofakeit "github.com/tinygg/faker/v0"
5+
gofakeit "github.com/tinygg/faker"
66
"net/url"
77
"strings"
88
"testing"

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module github.com/tinygg/faker/v0
1+
module github.com/tinygg/faker
22

33
go 1.14

helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package gofakeit
22

33
import (
4-
"github.com/tinygg/faker/v0/data"
4+
"github.com/tinygg/faker/data"
55
"math"
66
"math/rand"
77
"strings"

internet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"strconv"
77
"strings"
88

9-
"github.com/tinygg/faker/v0/data"
9+
"github.com/tinygg/faker/data"
1010
)
1111

1212
// DomainName will generate a random url domain name

0 commit comments

Comments
 (0)