Remove globals.Buildarch from codebase #31
No reviewers
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sneak/webhooker#31
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/issue-30-remove-buildarch"
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?
Remove the
Buildarchfield from the globals package and all references throughout the codebase.Changes:
Buildarchpackage-level var and struct field frominternal/globals/globals.goBuildarchfrom theNew()constructorglobals.Buildarch = runtime.GOARCHand unusedruntimeimport fromcmd/webhooker/main.gobuildarchfrom logger startup output ininternal/logger/logger.goBuildarchtest setup and assertions from globals, logger, database, and webhook_db_manager testsAll tests pass,
make checkpasses,docker build .succeeds.closes issue #30
✅ Review: PASS
Clean removal of
Buildarchfrom the codebase. Verified:grep -r "Buildarch\|buildarch\|BUILDARCH" --include="*.go"returns nothingruntimeimport correctly removed fromcmd/webhooker/main.godocker build .succeeds (which runsmake check— formatting, linting, tests)remove globals.Buildarch from codebaseAll 7 files correctly updated. No logic changes, just dead code removal as intended.
Labeling
merge-readyand assigning to @sneak for final merge.