Skip to content

Update main.go

Update main.go #2

Triggered via pull request June 21, 2023 05:13
Status Failure
Total duration 8m 40s
Artifacts

pull-compliance.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

26 errors
backend: main.go#L7
syntax error: non-declaration statement outside function body
backend: main.go#L9
syntax error: imports must appear before other declarations
backend: main.go#L19
syntax error: import path must be a string
backend
Process completed with exit code 1.
checks-backend
Process completed with exit code 2.
lint-go-gogit: main.go#L7
syntax error: non-declaration statement outside function body
lint-go-gogit: main.go#L9
syntax error: imports must appear before other declarations
lint-go-gogit: main.go#L19
syntax error: import path must be a string (typecheck)
lint-go-gogit: main.go#L7
expected declaration, found teet (typecheck)
lint-go-gogit: main.go#L9
imports must appear before other declarations (typecheck)
lint-go-gogit: main.go#L19
import path must be a string (typecheck)
lint-go-gogit
Process completed with exit code 2.
lint-go-windows: main.go#L7
syntax error: non-declaration statement outside function body
lint-go-windows: main.go#L9
syntax error: imports must appear before other declarations
lint-go-windows: main.go#L19
syntax error: import path must be a string (typecheck)
lint-go-windows: main.go#L7
expected declaration, found teet (typecheck)
lint-go-windows: main.go#L9
imports must appear before other declarations (typecheck)
lint-go-windows: main.go#L19
import path must be a string (typecheck)
lint-go-windows
Process completed with exit code 2.
lint-backend: main.go#L7
syntax error: non-declaration statement outside function body
lint-backend: main.go#L9
syntax error: imports must appear before other declarations
lint-backend: main.go#L19
syntax error: import path must be a string (typecheck)
lint-backend: main.go#L7
expected declaration, found teet (typecheck)
lint-backend: main.go#L9
imports must appear before other declarations (typecheck)
lint-backend: main.go#L19
import path must be a string (typecheck)
lint-backend
Process completed with exit code 2.