Skip to content

make compatible with go 1.19

Codecov / codecov/patch succeeded Jun 20, 2024 in 1s

83.19% of diff hit (target 74.49%)

View this Pull Request on Codecov

83.19% of diff hit (target 74.49%)

Annotations

Check warning on line 34 in api/db.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/db.go#L32-L34

Added lines #L32 - L34 were not covered by tests

Check warning on line 39 in api/db.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/db.go#L38-L39

Added lines #L38 - L39 were not covered by tests

Check warning on line 50 in api/db.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/db.go#L48-L50

Added lines #L48 - L50 were not covered by tests

Check warning on line 55 in api/db.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/db.go#L54-L55

Added lines #L54 - L55 were not covered by tests

Check warning on line 65 in api/db.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/db.go#L64-L65

Added lines #L64 - L65 were not covered by tests

Check warning on line 71 in api/db.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/db.go#L70-L71

Added lines #L70 - L71 were not covered by tests

Check warning on line 89 in api/db.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/db.go#L85-L89

Added lines #L85 - L89 were not covered by tests

Check warning on line 92 in api/db.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/db.go#L91-L92

Added lines #L91 - L92 were not covered by tests

Check warning on line 103 in api/db.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/db.go#L102-L103

Added lines #L102 - L103 were not covered by tests

Check warning on line 107 in api/db.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/db.go#L105-L107

Added lines #L105 - L107 were not covered by tests

Check warning on line 137 in api/db.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/db.go#L136-L137

Added lines #L136 - L137 were not covered by tests

Check warning on line 149 in api/db.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/db.go#L143-L149

Added lines #L143 - L149 were not covered by tests

Check warning on line 153 in api/db.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/db.go#L151-L153

Added lines #L151 - L153 were not covered by tests

Check warning on line 135 in api/repos.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

api/repos.go#L135

Added line #L135 was not covered by tests

Check warning on line 100 in cmd/db_cleanup.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/db_cleanup.go#L96-L100

Added lines #L96 - L100 were not covered by tests

Check warning on line 130 in cmd/db_cleanup.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/db_cleanup.go#L130

Added line #L130 was not covered by tests

Check warning on line 159 in cmd/db_cleanup.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/db_cleanup.go#L158-L159

Added lines #L158 - L159 were not covered by tests

Check warning on line 167 in cmd/db_cleanup.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/db_cleanup.go#L167

Added line #L167 was not covered by tests

Check warning on line 184 in cmd/db_cleanup.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/db_cleanup.go#L183-L184

Added lines #L183 - L184 were not covered by tests

Check warning on line 244 in cmd/db_cleanup.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/db_cleanup.go#L243-L244

Added lines #L243 - L244 were not covered by tests

Check warning on line 257 in cmd/db_cleanup.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/db_cleanup.go#L256-L257

Added lines #L256 - L257 were not covered by tests

Check warning on line 264 in cmd/db_cleanup.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/db_cleanup.go#L260-L264

Added lines #L260 - L264 were not covered by tests

Check warning on line 36 in deb/graph.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

deb/graph.go#L36

Added line #L36 was not covered by tests

Check warning on line 84 in deb/graph.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

deb/graph.go#L84

Added line #L84 was not covered by tests

Check warning on line 1212 in deb/publish.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

deb/publish.go#L1211-L1212

Added lines #L1211 - L1212 were not covered by tests