Postgres and goLang

Github repositories which are using Postgres(or other db) and goLang

Postgres and GoLang

dat (Data Access Toolkit) is a fast, lightweight Postgres library for Go.

Focused on Postgres. See Insect, Upsert, SelectDoc, QueryJSON

Built on a solid foundation sqlx

// child DB is *sqlx.DB
DB.DB.Queryx(`SELECT * FROM users`)
SQL and backtick friendly

DB.SQL(`SELECT * FROM people LIMIT 10`).QueryStructs(&people)

https://github.com/mgutz/dat

Tern

Tern is a standalone migration tool for PostgreSQL. It includes traditional migrations as well as a separate optional workflow for managing database code such as functions and views.

https://github.com/jackc/tern

golang-tutorial-rest-api

In this tutorial I’m going to illustrate how to serve a JSON API using Go. I’ll create a basic backend for a Vue.js application that will serve data already present in a PostgreSQL database.

https://flaviocopes.com/golang-tutorial-rest-api/

Squirrel – fluent SQL generator for Go
Squirrel helps you build SQL queries from composable parts:

https://github.com/jojopoper/horizon/tree/d13464a80a297f224516f4aabf64e7897788cb11/vendor/src/github.com/lann/squirrel

https://github.com/Tlakatlekutl/go_api/blob/397b76d8815afdf7c35f5d0a2db2fce25379c913/goserver/server/models/thread.go

A simple package written in Golang 1.7.3 for building cloud storage server or client,

https://github.com/Forec/cloud-storage/blob/f7cac4b4b5723c588c849d7de776a933a1a10b5f/cstruct/cuser_operations.go

A command line interface for spontaneously capturing the things you learn while coding.
https://github.com/dnote/cli

Django style fixtures for Golang’s excellent built-in database/sql library.

https://github.com/RichardKnop/go-fixtures/blob/8423bbb68f3bb8af9d1adca84fd9d54f608c58b1/load_postgres_test.go

sample pgx stdlib
https://github.com/achiku/sample-pgx-stdlib

Electra API public web-services.
https://github.com/ruannelloyd/ElectraPay-Service

Adjust entries in config/db.json and you are ready to go.
https://github.com/JasminBektic/questionnaire

https://github.com/Yorkchung/frog

https://github.com/Yorkchung/frog/blob/fc180122ccfb659e5c087c379787635f34447c8c/local/model.go

Self-hosted Localization Management Platform built with Go and Angular 2.

https://github.com/sath1729/new1

https://github.com/sath1729/new1/blob/412d51a363938f6757cff61a978b73d89a6765b5/parrot-api/datastore/postgres/user.go

https://github.com/sath1729/new1/tree/412d51a363938f6757cff61a978b73d89a6765b5/parrot-api/datastore/postgres

Go File sharing HTTP server with auth and user rights management
https://github.com/ademilly/micro-share

https://github.com/byorty/hardcore

Geekmarks: API-Driven, Geeky Bookmarking Service
https://github.com/dimonomid/geekmarks

https://github.com/veselovoleg/Go_lessons

Orange Forum is an easy to deploy forum that has minimal dependencies and uses very little javascript. It is written is golang and a compiled binary is available for linux. Try the latest version hosted here. Please contact info@goodoldweb.com if you have any questions or want support.
https://github.com/s-gv/orangeforum/blob/1f6313cb3a1e755880fc1354f3e1efc4dd2dd4aa/views/comments.go

RegStat – persisting Docker registry notifications.

https://github.com/vleurgat/regstat

https://github.com/emculber/MediaDatabase/blob/5d0cdbd9c1a46858c0c0c1f6cf0cb139e21a58f7/server_api/User_Database.go

A Resource Booking and Managing System written in Golang and React
https://github.com/SteveYfZhao/felisResource

Galera Check Cluster Status
https://github.com/jsenon/GalAirCheck

https://github.com/sir-wiggles/zume

Written in go gopher’s spider can also be easily run in any go environment by running
https://github.com/solidfox/gopher

https://github.com/andrius4669/walitd

The hcexplorer repository is a collection of golang packages and apps for Hcd data collection, storage, and presentation.
https://github.com/thinkhero/hcexplorer

https://github.com/RDusi/borgdir-media

https://github.com/cdalong/transservice/blob/master/queries/transdb/queries.go

Dbmate is a database migration tool to keep your database schema in sync across multiple developers and your production servers.

https://github.com/turnitin/dbmate

A simple forum application written in go.
https://github.com/artificerpi/uchat

A simple Golang web application making use of go templating engine to process http responses.

https://github.com/Gidraff/task-manager-webapp

Evolution of a chat server from simple to distributed
https://github.com/sir-wiggles/chat

A public, open learning environment built on top of Wikipedia.
https://github.com/Stovoy/OpenClassroom

File system written in Go Lang
https://github.com/morenocantoj/sds-go

Important Blog-Post

pgxmigratesquirrel and dockertest, four libraries that together make working with Postgres from Go a real pleasure.

https://jbrandhorst.com/post/postgres/

https://flaviocopes.com/golang-tutorial-rest-api/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s