Categorygithub.com/brunoluiz/go-lab
module
0.0.0-20240506233740-30e53b62a841
Repository: https://github.com/brunoluiz/go-lab.git
Documentation: pkg.go.dev

# README

Go Lab

🧪 Laboratory for my Go and infrastructure experiments

Requirements

Because oapi-codegen is still under development, you will need to have NodeJS installed so you can flatten out the schema.

  • NodeJS (any recent version)
  • Go 1.19+

Commands

  • ./run.sh: runs a binary under services/$1/cmd/$2 with hot-reloading
  • ./curl.sh: few useful curls for testing

Structure

core/                 # core tooling
notes/                # learnings so far
services/
  <service_name>
    cmd/              # binaries
      <api>
      <cron>
      <subscriber>
    internal/
      ...
    sqlc.yaml         # sqlc/repository generation config
    openapi.yaml      # openapi3 schema definitions
    oapi-codegen.yaml # oapi-codegen generation config
    gen.go            # config for `go generate ./...`

# Packages

No description provided by the author
No description provided by the author
No description provided by the author