Skip to content

Commit 4a4390c

Browse files
committed
🎨 Minor makefile update. Final lint fix.
1 parent 1bce9dc commit 4a4390c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
lint:
22
gofumpt -w -s ./..
33
gofumports -w ./..
4+
golint ./...
45
golangci-lint run --fix
56

67
test:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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)

examples/users_example/service.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
package users
22

33
type 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
}

0 commit comments

Comments
 (0)