Skip to content

Commit 9bc2d11

Browse files
authored
Merge pull request #8 from sshaplygin/ref-project-name
ref: project name
2 parents e8ee475 + 949a20f commit 9bc2d11

File tree

16 files changed

+31
-28
lines changed

16 files changed

+31
-28
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Go
2323
uses: actions/setup-go@v4
2424
with:
25-
go-version: '1.20'
25+
go-version: '1.21'
2626

2727
- name: Build
2828
run: go build -v ./...

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# ru-doc-code
1+
# docs-code
22

3-
[![GoDoc](https://godoc.org/github.com/sshaplygin/ru-doc-code?status.svg)](https://godoc.org/github.com/sshaplygin/ru-doc-code) [![Go Coverage](https://github.com/sshaplygin/ru-doc-code/wiki/coverage.svg)](https://raw.githack.com/wiki/sshaplygin/ru-doc-code/coverage.html) [![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)
3+
[![GoDoc](https://godoc.org/github.com/sshaplygin/docs-code?status.svg)](https://godoc.org/github.com/sshaplygin/docs-code) [![Go Coverage](https://github.com/sshaplygin/docs-code/wiki/coverage.svg)](https://raw.githack.com/wiki/sshaplygin/docs-code/coverage.html) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/sshaplygin/docs-code/blob/master/LICENSE) [![Go Report Card](https://goreportcard.com/badge/github.com/sshaplygin/docs-code)](https://goreportcard.com/report/github.com/sshaplygin/docs-code)
44

5-
It is validator about official of code documents from Russia in Go
5+
It is validator about official of documents codes in Go
66

77
## Alert
88

@@ -36,11 +36,14 @@ Status of implementation by code package
3636
- [ ] SNILS
3737
- [x] Generation method
3838
- [ ] Validation method
39+
- [ ] Swift
40+
- [x] Generation method
41+
- [ ] Validation method
3942

4043
## Usage
4144

4245
``` bash
43-
go get github.com/sshaplygin/ru-doc-code
46+
go get github.com/sshaplygin/docs-code
4447
```
4548

4649
### Example
@@ -50,7 +53,7 @@ go get github.com/sshaplygin/ru-doc-code
5053
import (
5154
"log"
5255

53-
"github.com/sshaplygin/ru-doc-code/inn"
56+
"github.com/sshaplygin/docs-code/inn"
5457
)
5558

5659
...

bik/bik.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package bik
33
import (
44
"strconv"
55

6-
"github.com/sshaplygin/ru-doc-code/models"
7-
"github.com/sshaplygin/ru-doc-code/utils"
6+
"github.com/sshaplygin/docs-code/models"
7+
"github.com/sshaplygin/docs-code/utils"
88
)
99

1010
// Validate check to valid BIK format

bik/bik_test.go

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

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

9-
"github.com/sshaplygin/ru-doc-code/models"
9+
"github.com/sshaplygin/docs-code/models"
1010
)
1111

1212
func TestValidate(t *testing.T) {

go.mod

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

3-
go 1.18
3+
go 1.21
44

55
require github.com/stretchr/testify v1.8.4
66

inn/inn.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"strconv"
55
"strings"
66

7-
"github.com/sshaplygin/ru-doc-code/models"
8-
"github.com/sshaplygin/ru-doc-code/utils"
7+
"github.com/sshaplygin/docs-code/models"
8+
"github.com/sshaplygin/docs-code/utils"
99
)
1010

1111
const (

inn/inn_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"github.com/stretchr/testify/assert"
88
"github.com/stretchr/testify/require"
99

10-
"github.com/sshaplygin/ru-doc-code/models"
11-
"github.com/sshaplygin/ru-doc-code/utils"
10+
"github.com/sshaplygin/docs-code/models"
11+
"github.com/sshaplygin/docs-code/utils"
1212
)
1313

1414
func TestValidate(t *testing.T) {

kpp/kpp.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package kpp
22

33
import (
4-
"github.com/sshaplygin/ru-doc-code/models"
5-
"github.com/sshaplygin/ru-doc-code/utils"
4+
"github.com/sshaplygin/docs-code/models"
5+
"github.com/sshaplygin/docs-code/utils"
66
)
77

88
type KPP struct {

kpp/kpp_test.go

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

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

9-
"github.com/sshaplygin/ru-doc-code/models"
9+
"github.com/sshaplygin/docs-code/models"
1010
)
1111

1212
//nolint:dupl

ogrn/ogrn.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package ogrn
33
import (
44
"strconv"
55

6-
"github.com/sshaplygin/ru-doc-code/models"
7-
"github.com/sshaplygin/ru-doc-code/utils"
6+
"github.com/sshaplygin/docs-code/models"
7+
"github.com/sshaplygin/docs-code/utils"
88
)
99

1010
// Validate check to valid OGRN format

0 commit comments

Comments
 (0)