This repository contains a Go based project for the uniget CLI tool, which is used for managing and installing packages. The project includes various commands and functionalities to facilitate package management. Please follow these guidelines when contributing:
Run go fmt ./... before committing any changes to ensure proper code formatting
- Build:
goreleaser build --auto-snapshot --clean --single-target - Test:
go test ./... - Lint:
golangci-lint run
cmd/: Main service entry points and executablespkg/: Core Go packages
- Follow Go best practices and idiomatic patterns
- Maintain existing code structure and organization
- Use dependency injection patterns where appropriate
- Write unit tests for new functionality. Use table-driven unit tests when possible
- Document public APIs and complex logic