add applicationPassword & some rest-api compatiable with wordpress rest-api #180
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
10 errors and 1 warning
lint:
handler/middleware/application_password.go#L94
regexpMust: for const patterns like "^Basic [a-z\\d/+]*={0,2}", use regexp.MustCompile (gocritic)
|
lint:
util/common.go#L4
File is not `gofumpt`-ed (gofumpt)
|
lint:
service/application_password.go#L4
File is not `gofumpt`-ed (gofumpt)
|
lint:
handler/content/wp/post.go#L4
File is not `gofumpt`-ed (gofumpt)
|
lint:
util/common.go#L5
File is not `goimports`-ed with -local github.com/go-sonic/sonic (goimports)
|
lint:
handler/content/wp/category.go#L4
File is not `goimports`-ed with -local github.com/go-sonic/sonic (goimports)
|
lint:
handler/content/wp/post.go#L5
File is not `goimports`-ed with -local github.com/go-sonic/sonic (goimports)
|
lint:
handler/middleware/application_password.go#L32
unnecessary leading newline (whitespace)
|
lint:
handler/router.go#L376
unnecessary trailing newline (whitespace)
|
lint:
handler/server.go#L273
S1023: redundant `return` statement (gosimple)
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/sonic/sonic. Supported file pattern: go.sum
|