Skip to content

delta/DAuth-backend-v2

Repository files navigation

DAuth-Backend-v2


Requirements

Setup

  • Configure .vscode/settings.json

    {
        "go.lintTool":"golangci-lint",
        "go.lintFlags": [
        "--fast"
        ],
        "go.lintOnSave": "package",
        "go.formatTool": "goimports",
        "go.useLanguageServer": true,
        "[go]": {
            "editor.formatOnSave": true,
            "editor.codeActionsOnSave": {
                "source.organizeImports": true
            }
        },
        "go.docsTool": "gogetdoc"
    }
    
  • Enable githooks

    git config core.hooksPath .githooks
  • Create .env file

    cp .env.example .env
  • Install reflex

    go install github.com/cespare/reflex@latest
  • Configure database settings in config.json

Run with Reflex

  • reflex -s -r '\.go$$' go run main.go

Run

  • go run main.go

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published