This repository contains the protobuf contracts and the generated Go types used by podkrepi.bg.
The section explains how to use the types in different languages.
To use the types in a Go project run:
go get github.com/daritelska-platforma/types/go-types
TODO
The easiest way to update the protos is:
- Open the repo in Visual Studio code
- Click Ctrl/Cmd + Shift + P and select
Remote-Containers: Reopen in Container
- The workspace will be automatically opened in a Docker container with all required dependencies to update and build the proto contracts
After the proto files are updated you can run the following command to update the generated Go types:
task build_go_types