Closed AnaTofuZ closed 4 years ago
Summary:
Files: 20
Lines: 6825
Nosec: 0
Issues: 104
# github.com/anatofuz/BookmarkTarou/infra/store/mysql
infra/store/mysql/user_store.go:29:7: undefined: errors.Is
infra/store/mysql/user_store.go:82:7: undefined: errors.Is
note: module requires Go 1.13
# github.com/anatofuz/BookmarkTarou/app
app/usr.go:60:6: undefined: errors.Is
note: module requires Go 1.13
Summary:
Files: 20
Lines: 6820
Nosec: 0
Issues: 104
error: failed to check packages: errors while loading package github.com/anatofuz/BookmarkTarou/infra/store/mysql: [/github/workspace/infra/store/mysql/user_store.go:82:14: Is not declared by package errors /github/workspace/infra/store/mysql/user_store.go:29:14: Is not declared by package errors]
-: could not analyze dependency github.com/anatofuz/BookmarkTarou/app of github.com/anatofuz/BookmarkTarou/web (compile)
-: could not analyze dependency github.com/anatofuz/BookmarkTarou/app/config of github.com/anatofuz/BookmarkTarou (compile)
-: could not analyze dependency github.com/anatofuz/BookmarkTarou/infra/store/mysql of github.com/anatofuz/BookmarkTarou/app/config (compile)
app/usr.go:60:13: Is not declared by package errors (compile)
infra/store/mysql/user_store.go:82:14: Is not declared by package errors (compile)
model/user.go:21:5: error var UserErrNotFound should have name of the form ErrFoo (ST1012)
app/config/config.go
app/usr.go
infra/store/kvs/user_session_store.go
web/user.go
Found 13 lint suggestions; failing.
# github.com/anatofuz/BookmarkTarou/infra/store/mysql
infra/store/mysql/user_store.go:29:7: undefined: errors.Is
infra/store/mysql/user_store.go:82:7: undefined: errors.Is
note: module requires Go 1.13
# github.com/anatofuz/BookmarkTarou/app
app/usr.go:61:6: undefined: errors.Is
note: module requires Go 1.13
# github.com/anatofuz/BookmarkTarou/infra/store/kvs
infra/store/kvs/user_session_store.go:26:15: Errorf format %w has unknown verb w
infra/store/kvs/user_session_store.go:29:15: Errorf format %w has unknown verb w
infra/store/kvs/user_session_store.go:37:10: Errorf format %w has unknown verb w
infra/store/kvs/user_session_store.go:41:10: Errorf format %w has unknown verb w
error: failed to check packages: errors while loading package github.com/anatofuz/BookmarkTarou/infra/store/mysql: [/github/workspace/infra/store/mysql/user_store.go:82:14: Is not declared by package errors /github/workspace/infra/store/mysql/user_store.go:29:14: Is not declared by package errors]
Summary:
Files: 22
Lines: 6925
Nosec: 0
Issues: 104
-: could not analyze dependency github.com/anatofuz/BookmarkTarou/app of github.com/anatofuz/BookmarkTarou/web (compile)
-: could not analyze dependency github.com/anatofuz/BookmarkTarou/app/config of github.com/anatofuz/BookmarkTarou (compile)
-: could not analyze dependency github.com/anatofuz/BookmarkTarou/infra/store/mysql of github.com/anatofuz/BookmarkTarou/app/config (compile)
app/usr.go:61:13: Is not declared by package errors (compile)
infra/store/mysql/user_store.go:82:14: Is not declared by package errors (compile)
model/user.go:21:5: error var UserErrNotFound should have name of the form ErrFoo (ST1012)
Found 13 lint suggestions; failing.
app/config/config.go
app/usr.go
infra/store/kvs/user_session_store.go
web/user.go
Found 13 lint suggestions; failing.
Summary:
Files: 22
Lines: 6925
Nosec: 0
Issues: 104
error: failed to check packages: errors while loading package github.com/anatofuz/BookmarkTarou/infra/store/mysql: [/github/workspace/infra/store/mysql/user_store.go:82:14: Is not declared by package errors /github/workspace/infra/store/mysql/user_store.go:29:14: Is not declared by package errors]
# github.com/anatofuz/BookmarkTarou/infra/store/mysql
infra/store/mysql/user_store.go:29:7: undefined: errors.Is
infra/store/mysql/user_store.go:82:7: undefined: errors.Is
note: module requires Go 1.13
# github.com/anatofuz/BookmarkTarou/app
app/usr.go:61:6: undefined: errors.Is
note: module requires Go 1.13
# github.com/anatofuz/BookmarkTarou/infra/store/kvs
infra/store/kvs/user_session_store.go:26:15: Errorf format %w has unknown verb w
infra/store/kvs/user_session_store.go:29:15: Errorf format %w has unknown verb w
infra/store/kvs/user_session_store.go:37:10: Errorf format %w has unknown verb w
infra/store/kvs/user_session_store.go:41:10: Errorf format %w has unknown verb w
app/config/config.go
app/usr.go
infra/store/kvs/user_session_store.go
web/user.go
Summary:
Files: 22
Lines: 6925
Nosec: 0
Issues: 104
error: failed to check packages: errors while loading package github.com/anatofuz/BookmarkTarou/infra/store/mysql: [/github/workspace/infra/store/mysql/user_store.go:82:14: Is not declared by package errors /github/workspace/infra/store/mysql/user_store.go:29:14: Is not declared by package errors]
-: could not analyze dependency github.com/anatofuz/BookmarkTarou/app of github.com/anatofuz/BookmarkTarou/web (compile)
-: could not analyze dependency github.com/anatofuz/BookmarkTarou/app/config of github.com/anatofuz/BookmarkTarou (compile)
-: could not analyze dependency github.com/anatofuz/BookmarkTarou/infra/store/mysql of github.com/anatofuz/BookmarkTarou/app/config (compile)
app/usr.go:61:13: Is not declared by package errors (compile)
infra/store/mysql/user_store.go:82:14: Is not declared by package errors (compile)
model/user.go:21:5: error var UserErrNotFound should have name of the form ErrFoo (ST1012)
-: could not analyze dependency github.com/anatofuz/BookmarkTarou/app of github.com/anatofuz/BookmarkTarou/web (compile)
-: could not analyze dependency github.com/anatofuz/BookmarkTarou/app/config of github.com/anatofuz/BookmarkTarou (compile)
-: could not analyze dependency github.com/anatofuz/BookmarkTarou/infra/store/mysql of github.com/anatofuz/BookmarkTarou/app/config (compile)
app/usr.go:61:13: Is not declared by package errors (compile)
infra/store/mysql/user_store.go:82:14: Is not declared by package errors (compile)
model/user.go:21:5: error var UserErrNotFound should have name of the form ErrFoo (ST1012)
# github.com/anatofuz/BookmarkTarou/infra/store/mysql
infra/store/mysql/user_store.go:29:7: undefined: errors.Is
infra/store/mysql/user_store.go:82:7: undefined: errors.Is
note: module requires Go 1.13
# github.com/anatofuz/BookmarkTarou/app
app/usr.go:61:6: undefined: errors.Is
note: module requires Go 1.13
# github.com/anatofuz/BookmarkTarou/infra/store/kvs
infra/store/kvs/user_session_store.go:26:15: Errorf format %w has unknown verb w
infra/store/kvs/user_session_store.go:29:15: Errorf format %w has unknown verb w
infra/store/kvs/user_session_store.go:37:10: Errorf format %w has unknown verb w
infra/store/kvs/user_session_store.go:41:10: Errorf format %w has unknown verb w
app/config/config.go
Found 13 lint suggestions; failing.
error: failed to check packages: errors while loading package github.com/anatofuz/BookmarkTarou/infra/store/mysql: [/github/workspace/infra/store/mysql/user_store.go:80:14: Is not declared by package errors /github/workspace/infra/store/mysql/user_store.go:27:14: Is not declared by package errors]
# github.com/anatofuz/BookmarkTarou/infra/store/mysql
infra/store/mysql/user_store.go:27:7: undefined: errors.Is
infra/store/mysql/user_store.go:80:7: undefined: errors.Is
note: module requires Go 1.13
# github.com/anatofuz/BookmarkTarou/infra/store/kvs
infra/store/kvs/user_session_store.go:26:15: Errorf format %w has unknown verb w
infra/store/kvs/user_session_store.go:29:15: Errorf format %w has unknown verb w
infra/store/kvs/user_session_store.go:37:10: Errorf format %w has unknown verb w
infra/store/kvs/user_session_store.go:41:10: Errorf format %w has unknown verb w
# github.com/anatofuz/BookmarkTarou/app
app/usr.go:35:15: Errorf format %w has unknown verb w
app/usr.go:40:15: Errorf format %w has unknown verb w
app/usr.go:54:15: Errorf format %w has unknown verb w
app/usr.go:58:15: Errorf format %w has unknown verb w
app/usr.go:65:15: Errorf format %w has unknown verb w
# github.com/anatofuz/BookmarkTarou/web
web/user.go:103:10: Errorf format %w has unknown verb w
web/user.go:121:10: Errorf format %w has unknown verb w
web/user.go:131:15: Errorf format %w has unknown verb w
web/user.go:139:15: Errorf format %w has unknown verb w
-: could not analyze dependency github.com/anatofuz/BookmarkTarou/app/config of github.com/anatofuz/BookmarkTarou (compile)
-: could not analyze dependency github.com/anatofuz/BookmarkTarou/infra/store/mysql of github.com/anatofuz/BookmarkTarou/app/config (compile)
infra/store/kvs/user_session_store.go:50:20: error strings should not end with punctuation or a newline (ST1005)
infra/store/mysql/user_store.go:80:14: Is not declared by package errors (compile)
model/user.go:21:5: error var UserErrNotFound should have name of the form ErrFoo (ST1012)
Summary:
Files: 22
Lines: 7019
Nosec: 0
Issues: 104
Found 13 lint suggestions; failing.
app/config/config.go
Summary:
Files: 22
Lines: 7019
Nosec: 0
Issues: 104
error: failed to check packages: errors while loading package github.com/anatofuz/BookmarkTarou/infra/store/mysql: [/github/workspace/infra/store/mysql/user_store.go:80:14: Is not declared by package errors /github/workspace/infra/store/mysql/user_store.go:27:14: Is not declared by package errors]
-: could not analyze dependency github.com/anatofuz/BookmarkTarou/app/config of github.com/anatofuz/BookmarkTarou (compile)
-: could not analyze dependency github.com/anatofuz/BookmarkTarou/infra/store/mysql of github.com/anatofuz/BookmarkTarou/app/config (compile)
infra/store/kvs/user_session_store.go:50:20: error strings should not end with punctuation or a newline (ST1005)
infra/store/mysql/user_store.go:80:14: Is not declared by package errors (compile)
model/user.go:21:5: error var UserErrNotFound should have name of the form ErrFoo (ST1012)
# github.com/anatofuz/BookmarkTarou/infra/store/mysql
infra/store/mysql/user_store.go:27:7: undefined: errors.Is
infra/store/mysql/user_store.go:80:7: undefined: errors.Is
note: module requires Go 1.13
# github.com/anatofuz/BookmarkTarou/infra/store/kvs
infra/store/kvs/user_session_store.go:26:15: Errorf format %w has unknown verb w
infra/store/kvs/user_session_store.go:29:15: Errorf format %w has unknown verb w
infra/store/kvs/user_session_store.go:37:10: Errorf format %w has unknown verb w
infra/store/kvs/user_session_store.go:41:10: Errorf format %w has unknown verb w
# github.com/anatofuz/BookmarkTarou/app
app/usr.go:35:15: Errorf format %w has unknown verb w
app/usr.go:40:15: Errorf format %w has unknown verb w
app/usr.go:54:15: Errorf format %w has unknown verb w
app/usr.go:58:15: Errorf format %w has unknown verb w
app/usr.go:65:15: Errorf format %w has unknown verb w
# github.com/anatofuz/BookmarkTarou/web
web/user.go:103:10: Errorf format %w has unknown verb w
web/user.go:121:10: Errorf format %w has unknown verb w
web/user.go:131:15: Errorf format %w has unknown verb w
web/user.go:139:15: Errorf format %w has unknown verb w
ユーザーのログイン機能を実装
やること