Skip to content

zanmato/tspcompat

Repository files navigation

tspcompat

Transforms the new format into the legacy app format.

Build

$ make linux

Development

$ go run cmd/proxy/main.go --new-url=http://localhost/test.json --old-url=http://localhost/old.json
$ DB_DSN=postgres://tspcompat:tspcompat@localhost:5450/tspcompat?sslmode=disable\&timezone=Europe/Stockholm go run cmd/api/main.go --load-from=http://localhost/test.json

For even faster results, use a materialized view with --use-view:

$ DB_DSN=postgres://tspcompat:tspcompat@localhost:5450/tspcompat?sslmode=disable\&timezone=Europe/Stockholm go run cmd/api/main.go --load-from=http://localhost/test.json --use-view

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published