File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+ on : [push]
3+ jobs :
4+ build :
5+ name : CI
6+ runs-on : ubuntu-latest
7+ steps :
8+ - uses : actions/setup-go@v1
9+ with :
10+ go-version : " 1.14"
11+ - uses : actions/checkout@v1
12+ - name : Check formatting and imports via goimports
13+ run : |
14+ export PATH=$(go env GOPATH)/bin:$PATH
15+ go get golang.org/x/tools/cmd/goimports
16+ diff -u <(echo -n) <(goimports -d .)
17+ - name : Run go vet
18+ run : go vet -v ./...
19+ - name : Run go test
20+ run : go test -v ./...
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# Changes
22
3+ ## 4.0.0
4+
5+ Version 4 is identical to version 3 and just adds support for Go modules.
6+
37## 3.0.0
48
59* Remove quoting of table and column names introduced in 2.0.0
Original file line number Diff line number Diff line change 11The MIT License (MIT)
22
3- Copyright (c) 2014-2016 Thomas Cyron
3+ Copyright (c) 2014-2020 Thomas Cyron
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 11sqlbuilder
22==========
33
4- [ ![ Travis CI status] ( https://api.travis-ci.org/thcyron/sqlbuilder.svg )] ( https://travis-ci.org/thcyron/sqlbuilder )
4+ [ ![ go.dev reference] ( https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white&style=flat-square )] ( https://pkg.go.dev/github.com/thcyron/sqlbuilder/v4 )
5+ [ ![ CI status] ( https://github.com/thcyron/sqlbuilder/workflows/CI/badge.svg )] ( https://github.com/thcyron/sqlbuilder/actions?query=workflow%3ACI )
56
67` sqlbuilder ` is a Go library for building SQL queries.
78
8- The latest stable version is [ 3.0.0] ( https://github.com/thcyron/sqlbuilder/tree/v3.0.0/ ) .
9+ The latest stable version is [ 4.0.0] ( https://github.com/thcyron/sqlbuilder/tree/v4.0.0/ ) .
10+ Version 4 is identical to version 3 with added support for Go modules.
911
1012` sqlbuilder ` follows [ Semantic Versioning] ( http://semver.org/ ) .
1113
12- Installation
13- ------------
14+ Usage
15+ -----
1416
15- go get github.com/thcyron/sqlbuilder
17+ ``` go
18+ import " github.com/thcyron/sqlbuilder/v4"
19+ ```
1620
1721Examples
1822--------
@@ -82,11 +86,6 @@ Or you can specify the dialect explicitly:
8286sqlbuilder.Select ().Dialect (sqlbuilder.Postgres ).From (" ..." )...
8387```
8488
85- Documentation
86- -------------
87-
88- Documentation is available at [ GoDoc] ( https://godoc.org/github.com/thcyron/sqlbuilder ) .
89-
9089License
9190-------
9291
Original file line number Diff line number Diff line change 11package sqlbuilder
22
33import (
4- "github.com/thcyron/sqlbuilder/mysql"
5- "github.com/thcyron/sqlbuilder/postgres"
4+ "github.com/thcyron/sqlbuilder/v4/ mysql"
5+ "github.com/thcyron/sqlbuilder/v4/ postgres"
66)
77
88// Dialect represents a SQL dialect.
Original file line number Diff line number Diff line change 1+ module github.com/thcyron/sqlbuilder/v4
2+
3+ go 1.14
You can’t perform that action at this time.
0 commit comments