File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11lint :
22 gofumpt -w -s ./..
33 gofumports -w ./..
4+ golint ./...
45 golangci-lint run --fix
56
67test :
Original file line number Diff line number Diff line change 66
77![ GolangCI] ( https://github.com/go-oas/docs/workflows/golangci/badge.svg?branch=main )
88![ Build] ( https://github.com/go-oas/docs/workflows/Build/badge.svg?branch=main )
9- [ ![ Version] ( https://img.shields.io/badge/version-v1.0.4 -success.svg )] ( https://github.com/go-oas/docs/releases )
9+ [ ![ Version] ( https://img.shields.io/badge/version-v1.0.5 -success.svg )] ( https://github.com/go-oas/docs/releases )
1010[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/go-oas/docs )] ( https://goreportcard.com/report/github.com/go-oas/docs )
1111[ ![ Coverage Status] ( https://coveralls.io/repos/github/go-oas/docs/badge.svg?branch=main )] ( https://coveralls.io/github/go-oas/docs?branch=main )
1212[ ![ codebeat badge] ( https://codebeat.co/badges/32b86556-84e3-4db9-9f11-923d12994f90 )] ( https://codebeat.co/projects/github-com-go-oas-docs-main )
Original file line number Diff line number Diff line change 11package users
22
33type service struct {
4- repo Repository
4+ repo exampleRepo
55}
66
7- type Repository interface {
7+ type exampleRepo interface {
88 CreateUser () error
99}
1010
11- func newService (repo Repository ) service {
11+ func newService (repo exampleRepo ) service {
1212 return service {
1313 repo ,
1414 }
You can’t perform that action at this time.
0 commit comments