go-api-core

module
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT

README

Go API Core

This repository provides the core implementation for a Go-based API client library. It enables making requests to APIs using parameterized requests, returning structured responses. The library also supports data access and persistence, including requests, responses, collections with their contexts, and user data.
By default, it uses a custom CSVT format to manage data storage.

Project Structure

  • .env, .env.template: Environment configuration files.
  • go.mod, go.sum: Go module dependencies.
  • src/: Main source code
    • commons/: Utilities and configuration
    • domain/: Domain models (e.g., cookie, openapi)
    • infrastructure/: Repositories and data access
  • test/: Unit and integration tests
  • .github/workflows/: CI/CD workflows for build and release
  • db/: Example data files

Build & Test

To build and test the project, run:

go build -v ./...
go test -v ./...

Environment Setup

Copy .env.template to .env and adjust variables as needed.

Release Workflow

GitHub Actions are configured for automated build and release. See .github/workflows/publish-release.yml.

Key Features

Jump to

Keyboard shortcuts

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