Fix all golangci-lint issues (closes #32) #51
No reviewers
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sneak/upaas#51
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch ":fix/lint-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resolves #32
Changes
Fixes the remaining
testpackagelint issue by movingtail_validation_test.gofrompackage handlerstopackage handlers_test, using an export bridge (export_test.go) for unexported symbols.Results
Before: 1 lint issue (
testpackage)After: 0 lint issues
Tests: All passing
don't wrap it, just rename the original function
8417f8f795toa80b7ac0a6Updated per review: exported
SanitizeTailandDefaultLogTaildirectly by renaming them (no wrapper). Deletedexport_test.go. Test and lint both pass:make test: all passinggolangci-lint run ./...: 0 issues