Golang News http://golangnews.com Jobs, Code, Videos and News for Go hackers - everything about the go programming language Sun, 18 Mar 2018 21:36:00 +0000 Video: CockroachDB: The Road from 1 Node to 100 #db 22 points posted by gopher https://www.youtube.com/watch?v=pFKrRF_sflE 1290 Wed, 30 Nov 2016 20:08:00 +0000 Query - an SQL query builder #db #sql Query lets you build SQL queries with chainable methods, and defer execution of SQL until you wish to extract a count or array of models. It will probably remain limited in scope - it is not intended to be a full ORM with strict mapping between db tables and structs, but a tool for querying the database with minimum friction, and performing CRUD operations linked to models; simplifying your use of SQL to store model data without getting in the way. Full or partial SQL queries are of course also available, and full control over sql. Model creation and column are delegated to the model, to avoid dictating any particular model structure or interface, however a suggested interface is given (see below and in tests), which makes usage painless in your handlers without any boilerplate. 12 points posted by kenny https://github.com/fragmenta/query 918 Thu, 30 Jun 2016 13:50:00 +0000 QL - a pure Go embedded SQL database #data #db 12 points posted by lolly https://github.com/cznic/ql 151 Tue, 06 Oct 2015 16:15:00 +0000 Organising database access in Go #db #sql #orms <div>I think the right answer depends on the project.</div><div><br></div><div>What's the overall structure and size of the project? What's your approach to testing? How is it likely to grow in the future? All these things and more should play a part when you pick an approach to take.</div><div><br></div><div>So in this post I'll take a look at four different methods for organising your code and structuring access to your database connection pool.</div> 11 points posted by kenny http://www.alexedwards.net/blog/organising-database-access 888 Sat, 11 Jun 2016 18:52:00 +0000 pgproxy - a postgreSQL proxy server #data #db PostgreSQL proxy server by wgliang 8 points posted by fiisio https://github.com/wgliang/pgproxy 1725 Mon, 13 Feb 2017 08:03:00 +0000 Pgx - a faster PostgreSQL client library for Go #data #psql #db 8 points posted by kenny https://github.com/jackc/pgx 200 Fri, 09 Oct 2015 19:48:00 +0000 Why go was the right choice for cockroachdb #data #db 6 points posted by drogo https://www.cockroachlabs.com/blog/why-go-was-the-right-choice-for-cockroachdb 1607 Mon, 23 Jan 2017 13:38:00 +0000 Sharding PostgreSQL with Go #db #data #psql 6 points posted by lolly https://github.com/go-pg/sharding 193 Fri, 09 Oct 2015 07:11:00 +0000 Intro to boltdb - painless performant persistence #db 4 points posted by kenny http://npf.io/2014/07/intro-to-boltdb-painless-performant-persistence 1022 Sat, 27 Aug 2016 15:09:00 +0000