validator

package
v0.0.0-...-51a5181 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: MIT Imports: 5 Imported by: 0

README

Fintracts Validator

Build Go Report Card Documentation

Fintracts Validator semantically validates any JSON contract according to the specification.

Run Directly

First, install the necessary dependencies:

go mod download

Then, build the executable:

make build

An executable can be found on ./validator.

Usage

./validator < ./path/to/contract.json

Run ./validator --help for more information.

Docker

To build the Docker image:

make docker

You can now run the validator inside the docker image:

docker run -i validator [commands and arguments]

Usage example:

docker run -i validator < ./path/to/contract.json

License

MIT © Henrique Dias

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(c *fintracts.Contract) error

// Validate validates a contract.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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