Skip to content

Commit b16220c

Browse files
authored
Merge pull request #1105 from Shion1305/shion/issue-1104
#1104 Fix golanglint-ci lint config & lint errors
2 parents 04b36eb + 34594af commit b16220c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.golangci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ run:
44
linters:
55
enable:
66
#- golint
7-
- interfacer
7+
#- interfacer
88
- unconvert
99
#- dupl
1010
- goconst

internal/cli/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ Database drivers: `+strings.Join(database.List(), ", ")+"\n", createUsage, gotoU
275275
if needsConfirm {
276276
log.Println("Are you sure you want to apply all down migrations? [y/N]")
277277
var response string
278-
fmt.Scanln(&response)
278+
_, _ = fmt.Scanln(&response)
279279
response = strings.ToLower(strings.TrimSpace(response))
280280

281281
if response == "y" {
@@ -306,7 +306,7 @@ Database drivers: `+strings.Join(database.List(), ", ")+"\n", createUsage, gotoU
306306
if !*forceDrop {
307307
log.Println("Are you sure you want to drop the entire database schema? [y/N]")
308308
var response string
309-
fmt.Scanln(&response)
309+
_, _ = fmt.Scanln(&response)
310310
response = strings.ToLower(strings.TrimSpace(response))
311311

312312
if response == "y" {

0 commit comments

Comments
 (0)