scheme-service

module
v0.17.14 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: EUPL-1.2

README

scheme-service

Servicecomponent to make CRUD actions available for the scheme in the 'Vorderingen overzicht' system.

Installation

Prerequisites:

  1. Download the required Go dependencies:
go mod download
  1. Now start the scheme service:
go run cmd/scheme-service/main.go

By default, the scheme service will run on port 80.

Generate openapi json

docker run --rm -v "${PWD}/api:/api" openapitools/openapi-generator-cli:v7.9.0 generate \
    -i /api/openapi.yaml \
    -o /api \
    -g openapi

Adding mocks

We use GoMock to generate mocks. When you make updates to code for which there are mocks, you should regenerate the mocks.

Regenerating mocks
sh scripts/regenerate-gomock-files.sh

Deployment

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

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