goharbor / goharbor/harbor-cli
Adds Comprehensive Unit Tests for API Type Structures
Open
- Dominant language
- Go
- Stars
- 163
- Forks
- 211
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
This issue tracks the addition of comprehensive unit tests for API type structures defined in `pkg/api/types.go`.
Previously, the `pkg/api` package had **no test coverage**.
This work improves reliability and helps prevent regressions in API-related code.
### Changes
- Add `pkg/api/types_test.go`
Contributor guide
Assessment
This issue has not been assessed yet.