postfix-policy-server (or short: pps) provides a simple framework to create Postfix SMTP Access Policy Delegation Servers Servers in Go.
The pps documentation provides you with all you need, to quickly get started with your own Postifx policy service.
Alternatively check out the Go reference for further details or have a look at the example echo-server that is provided with this package.