Skip to content

Commit c1eb0e7

Browse files
committed
ref: go mod
1 parent 09225f6 commit c1eb0e7

File tree

17 files changed

+26
-19
lines changed

17 files changed

+26
-19
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# ru-doc-code
2-
[![GoDoc](https://godoc.org/github.com/mrfoe7/ru-doc-code?status.svg)](https://godoc.org/github.com/mrfoe7/ru-doc-code) [![Build Status](https://travis-ci.org/mrfoe7/ru-doc-code.svg)](https://travis-ci.org/mrfoe7/ru-doc-code.svg?branch=master) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/mrfoe7/ru-doc-code/blob/master/LICENSE) [![Go Report Card](https://goreportcard.com/badge/github.com/mrfoe7/ru-doc-code)](https://goreportcard.com/report/github.com/mrfoe7/ru-doc-code)
2+
[![GoDoc](https://godoc.org/github.com/sshaplygin/ru-doc-code?status.svg)](https://godoc.org/github.com/sshaplygin/ru-doc-code) [![Build Status](https://travis-ci.org/mrfoe7/ru-doc-code.svg)](https://travis-ci.org/mrfoe7/ru-doc-code.svg?branch=master) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/sshaplygin/ru-doc-code/blob/master/LICENSE) [![Go Report Card](https://goreportcard.com/badge/github.com/sshaplygin/ru-doc-code)](https://goreportcard.com/report/github.com/sshaplygin/ru-doc-code)
33

44
It is validator about official of code documents from Russia in Go
55

66
## Usage
77

8-
* go get github.com/mrfoe7/ru-doc-code
8+
* go get github.com/sshaplygin/ru-doc-code
99

1010
### Example
1111

@@ -14,7 +14,7 @@ It is validator about official of code documents from Russia in Go
1414
import (
1515
"log"
1616

17-
"github.com/mrfoe7/ru-doc-code/inn"
17+
"github.com/sshaplygin/ru-doc-code/inn"
1818
)
1919

2020
...

bik/bik.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package bik
33
import (
44
"strconv"
55

6-
ru_doc_code "github.com/mrfoe7/ru-doc-code"
6+
ru_doc_code "github.com/sshaplygin/ru-doc-code"
77
)
88

99
// Validate check to valid BIK format

bik/bik_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/stretchr/testify/assert"
99

10-
ru_doc_code "github.com/mrfoe7/ru-doc-code"
10+
ru_doc_code "github.com/sshaplygin/ru-doc-code"
1111
)
1212

1313
func TestValidate(t *testing.T) {

go.mod

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1-
module github.com/mrfoe7/ru-doc-code
1+
module github.com/sshaplygin/ru-doc-code
22

3-
go 1.13
3+
go 1.18
44

55
require github.com/stretchr/testify v1.5.1
6+
7+
require (
8+
github.com/davecgh/go-spew v1.1.0 // indirect
9+
github.com/pmezard/go-difflib v1.0.0 // indirect
10+
gopkg.in/yaml.v2 v2.2.2 // indirect
11+
)

go.sum

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
55
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
66
github.com/stretchr/testify v1.5.1 h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4=
77
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
8+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
89
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
910
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
1011
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=

inn/inn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"strconv"
55
"strings"
66

7-
ru_doc_code "github.com/mrfoe7/ru-doc-code"
7+
ru_doc_code "github.com/sshaplygin/ru-doc-code"
88
)
99

1010
const (

inn/inn_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/stretchr/testify/assert"
99
"github.com/stretchr/testify/require"
1010

11-
ru_doc_code "github.com/mrfoe7/ru-doc-code"
11+
ru_doc_code "github.com/sshaplygin/ru-doc-code"
1212
)
1313

1414
func TestValidate(t *testing.T) {

kpp/kpp.go

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

3-
import ru_doc_code "github.com/mrfoe7/ru-doc-code"
3+
import ru_doc_code "github.com/sshaplygin/ru-doc-code"
44

55
type KPP struct {
66
Code ru_doc_code.TaxRegionCode

kpp/kpp_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/stretchr/testify/assert"
99

10-
ru_doc_code "github.com/mrfoe7/ru-doc-code"
10+
ru_doc_code "github.com/sshaplygin/ru-doc-code"
1111
)
1212

1313
func TestValidate(t *testing.T) {

ogrn/ogrn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package ogrn
33
import (
44
"strconv"
55

6-
ru_doc_code "github.com/mrfoe7/ru-doc-code"
6+
ru_doc_code "github.com/sshaplygin/ru-doc-code"
77
)
88

99
// Validate check to valid OGRN format

0 commit comments

Comments
 (0)