2
0

Rename Json(b) to JSON(B)

This commit is contained in:
Jack Christensen
2016-08-02 13:35:52 -05:00
parent 214443deb7
commit 04c02cf3d3
5 changed files with 29 additions and 27 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ func Example_JSON() {
return
}
if _, ok := conn.PgTypes[pgx.JsonOID]; !ok {
if _, ok := conn.PgTypes[pgx.JSONOID]; !ok {
// No JSON type -- must be running against very old PostgreSQL
// Pretend it works
fmt.Println("John", 42)