go42

module
v0.9.69 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2025 License: MIT

README ΒΆ

β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–‘β–‘β–‘β–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•β•—β–‘
β–ˆβ–ˆβ•”β•β•β•β•β•β–‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–‘β–ˆβ–ˆβ•”β•β•šβ–ˆβ•‘β–ˆβ•β•β•β•β–ˆβ–ˆβ•‘β–‘
β–ˆβ–ˆβ•‘β–‘β–‘β–ˆβ–ˆβ•—β–‘β–ˆβ–ˆβ•‘β–‘β–‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β–‘β–‘β•šβ•β–‘β–‘β–ˆβ–ˆβ–ˆβ•”β•β•β–‘
β–ˆβ–ˆβ•‘β–‘β–‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–‘β–‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β–‘β–‘β–‘
β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β•šβ•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–‘
β–‘β•šβ•β•β•β•β•β•β–‘β–‘β•šβ•β•β•β•β•β–‘β–‘β–‘β–‘β–‘β–‘β•šβ•β•β•šβ•β•β•β•β•β•β•β–‘

G0LANG PR0JECT 0PERATION BLUEPRINT
01101111 01101110 01100101 01110100 01101111 01100110 01101111 01110010 01100101 01100111 01101111 01100110 01101111 01110010 01101101 01100001 01101110 01111001

licence goversion goreport release ci-status ossf

go42

Go42 is opinionated approach to develop cloud native golang services.

Goals

  • Establish an SDLC framework that scales with project, team, and organizational growth.
  • Support both closed-source operation and open-source friendliness by design.
  • Minimize operational overhead through enforced rules, conventions, and best practices at the CI/CD level.
  • Native integration of AI tools into the development workflow.
  • Ensure rapid and streamlined operational deployment bootstrapping.
  • Embed security fundamentals from day one.
  • Me learning a lot of new things in the process.

Backlog

πŸ’ͺ(β€’Μ€_‒́πŸ’ͺ)
  • make have error if .env files are not found
  • registry cleanup workflow can delete everything, implement safeguards
  • custom & simple DI container for main.go
  • main.go -> standardise init functions func(ctx context.Context, cfg *config.Config) ShutMeDown
  • main.go -> move init functions out of file and make them modular
  • module init retry
ദࡍദി( β€’Μ€ α΄— ‒́ )و
  • circuit breaker (https://github.com/sony/gobreaker)
  • graceful connection recovery
  • outbox table cleanup worker
  • service discovery
    • consul - consul kv for config
    • etcd
    • k8 CoreDNS
ദࡍദി( β€’Μ€ α΄— - )
  • register echo validator -> simplify adapters
  • slog contextual values (like request id etc.) propogation
  • slog smart sampling of duplicates
  • slog enforcing field names and types
( Β΄β€’ Ο‰ β€’)
  • lock tools version and sync with CI
  • working with private repositories, .netrc, GOPRIVATE, modules
Project get-the-job-done'
Project pandemic
Project clockwork
  • go42-cli (round-kick, fist-punch ASCII)
project machine
  • go42-runner
Project scrudge-mcrudge
  • integration with project management tools
  • capacity planning and resource management
  • scaling and organizing multiple projects
  • cost analysis for different scales
Project swarm

100% after v1.0.0 release

Explore
Security
  • github runner hardening (self-hosted and cloud)
  • PATs for github actions
  • tls connections and certificate management
  • grpc transport credentials
  • nicshe spider trap
Compliance
  • audit package implementation and guidelines
  • compliance research -> SOC2, ISO 27001, PCI-DSS, HIPAA

Directories ΒΆ

Path Synopsis
api
gen/sdk/grpc/auth/v1/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
gen/sdk/http/v1/auth/oapi-codegen
Package auth provides primitives to interact with the openapi HTTP API.
Package auth provides primitives to interact with the openapi HTTP API.
gen/sdk/http/v1/auth/oapi-codegen/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
gen/sdk/http/v1/auth/ogen
Code generated by ogen, DO NOT EDIT.
Code generated by ogen, DO NOT EDIT.
gen/sdk/http/v1/auth/ogen/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
gen/grpc module
cmd
app command
cfg2env command
internal
api/grpc/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
api/http/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
auth/adapters/grpc/v1/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
auth/adapters/http/v1/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
auth/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
auth/workers/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
outbox
Package outbox implements transactional outbox pattern.
Package outbox implements transactional outbox pattern.
outbox/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
outbox/workers/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
tests

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL