Skip to content

refactor: adopt standard Go project layout - #266

Merged
skyoo2003 merged 1 commit into
mainfrom
refactor/standard-go-layout
Sep 29, 2026
Merged

skyoo2003 merged 1 commit into
mainfrom
refactor/standard-go-layout

Conversation

@skyoo2003

Copy link
Copy Markdown
Owner

Summary

Restructure the repository around the Go project-layout conventions while keeping runtime behavior unchanged.

Type of Change

  • Breaking change
  • Documentation
  • Refactor
  • CI/CD

Changes

  • Move the public library to pkg/kvs and private RESP codec to internal/resp.
  • Keep cmd/kvs as a thin entrypoint and move Cobra/Viper composition to internal/app/kvs.
  • Move packaging configuration to build/package and the Hugo site to website.
  • Update imports, automation, ownership rules, documentation, and Git ignore rules.

Changelog

  • changie new fragment added — one sentence, two at most, 280 characters max
  • Not user-visible, no fragment needed
  • No fragment was added because no related issue number was supplied; the import-path migration needs a release-note decision.

Testing

  • make all passes
  • Existing tests moved with their packages; no new behavior requires tests
  • Hugo site build and GoReleaser configuration validation pass

Related Issues

None.

@github-actions github-actions Bot added documentation Improvements or additions to documentation github_actions Pull requests that update Github_actions code go Pull requests that update Go code labels Sep 29, 2026
@skyoo2003
skyoo2003 merged commit 83e8744 into main Sep 29, 2026
8 checks passed
@skyoo2003
skyoo2003 deleted the refactor/standard-go-layout branch September 29, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation github_actions Pull requests that update Github_actions code go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant