Skip to content

Reimplement winding order #8

Reimplement winding order

Reimplement winding order #8

Triggered via pull request November 14, 2023 15:34
Status Failure
Total duration 1m 9s
Artifacts

lint-go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: processing/gpkg/gpkg.go#L269
Error return value of `ext.AddGeometry` is not checked (errcheck)
lint: processing/gpkg/gpkg.go#L273
Error return value of `tx.Commit` is not checked (errcheck)
lint: processing/gpkg/gpkg.go#L344
Error return value of `row.Scan` is not checked (errcheck)
lint: processing/gpkg/gpkg.go#L85
Function 'ReadFeatures' has too many statements (49 > 40) (funlen)
lint: processing/gpkg/gpkg.go#L297
assignOp: replace `columnpart = columnpart + ` NOT NULL`` with `columnpart += ` NOT NULL`` (gocritic)
lint: processing/gpkg/gpkg.go#L300
assignOp: replace `columnpart = columnpart + ` PRIMARY KEY`` with `columnpart += ` PRIMARY KEY`` (gocritic)
lint: snap/pointindex.go#L188
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: snap/pointindex.go#L211
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: intgeom/line.go#L4
File is not `goimports`-ed (goimports)
lint: snap/pointindex_test.go#L4
File is not `goimports`-ed (goimports)
lint: processing/gpkg/gpkg.go#L218
superfluous-else: if block ends with a break statement, so drop this else and outdent its block (revive)
lint: snap/snap.go#L339
exported: func name will be used as snap.SnapToPointCloud by other packages, and that stutters; consider calling this ToPointCloud (revive)