service to log nats event to database
to develop this project you should have these tools
go
with go module enabledmake
utilitygcc
to compile some deps. that requiredCGO
functionality
compile binary using this command
make all
to just run this project, make sure you install deps before run
make init # (optional) for first build only
make run
to make index on payload data
CREATE INDEX eventpayload ON event_models USING GIN (payload jsonb_path_ops);