A Golang+Postgres webapp using only Linux syscalls and Go language builtins.
http
: HTTP server, implements a subset of Go standard librarynet/http
APIstemplate
: HTML templating, implements a subset of Go standard libraryhtml/template
APIssql
: Database connectivity, implements a subset of Go standard librarydatabase/sql
APIspg
: PostgreSQL driver, implementingsql/driver
$ go build
$ DB_URI=postgresql://username:[email protected]:5432/dbname ./syscalltodo
$ xdg-open http://localhost:9000