refactor UpdateUser to a Handler Function #245
golangci-lint.yml
on: pull_request
lint
55s
lint/fmt
9s
Annotations
10 errors and 5 warnings
lint:
handler/class.go#L16
undefined: echo (typecheck)
|
lint:
handler/class.go#L71
undefined: echo (typecheck)
|
lint:
handler/class.go#L169
undefined: echo (typecheck)
|
lint:
server.go#L1
: # github.com/uclaacm/teach-la-go-backend
|
lint:
server.go#L77
cannot use d.UpdateUser (value of type func(ctx context.Context, uid string, updates []"cloud.google.com/go/firestore".Update) error) as echo.HandlerFunc value in argument to e.PUT (typecheck)
|
lint:
db/alias_manager.go#L38
d.Collection undefined (type *DB has no field or method Collection) (typecheck)
|
lint:
db/alias_manager.go#L62
d.Collection undefined (type *DB has no field or method Collection) (typecheck)
|
lint:
db/alias_manager.go#L138
d.RunTransaction undefined (type *DB has no field or method RunTransaction) (typecheck)
|
lint:
db/alias_manager.go#L196
d.Collection undefined (type *DB has no field or method Collection) (typecheck)
|
lint:
db/class.go#L38
d.RunTransaction undefined (type *DB has no field or method RunTransaction) (typecheck)
|
lint/fmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2, actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint/fmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, golangci/golangci-lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|