A backend service that provides payment functionality via the Concardis payment provider.
Implemented in Go.
Command line arguments
-config <path-to-config-file> [-ecs-json-logging]
This service uses go modules to provide dependency management, see go.mod
.
If you place this repository outside your GOPATH, build and test runs will download all required dependencies by default.
Copy the configuration template from docs/config-template.yaml
to ./config.yaml
. This will set you up
for operation with an in-memory database and sensible defaults.
Build using go build cmd/main.go
.
Then run ./main -config config.yaml
.
See install.sh
. This assumes a current build, and a valid configuration template in specific filenames.
In order to collect full test coverage, set go tool arguments to -covermode=atomic -coverpkg=./internal/...
,
or manually run
go test -covermode=atomic -coverpkg=./internal/... ./...
We track open issues as GitHub issues on this repository once it becomes clear what exactly needs to be done.