agenda-service

command module
v0.0.0-...-c395a66 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

README

Agenda Service

Build from source

To build the application, run the following command:

go build -o agenda-service cmd/main.go
OpenAPI documentation

We used oapi-codegen to generate all http.HandlerFunc from the openapi.yaml file:

oapi-codegen -generate chi-server -package main docs/openapi.yaml > api/api.go      

Execute the application:

./agenda-service

Open your browser and access the following URL:

http://localhost:8080/openapi/

Test

To execute all tests, run the following command:

go test ./... -v

To see the code coverage while running tests, execute the following command:

go test ./...  -coverpkg=./... -coverprofile ./coverage.out

Create Container

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package main provides primitives to interact with the openapi HTTP API.
Package main provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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