183 Commits
Author SHA1 Message Date
Alex BiceandAlex Bice 07a5b318d9 ForceLowercase and MustParse (#80)
* Add puncuation to comments

* ForceLower and MustParse

* Revert makefile changes

Co-authored-by: Alex Bice <alex.bice@users.noreply.github.com>
v0.3.10
2022-01-23 10:40:22 -07:00
dependabot[bot] a703e9cfb5 Bump github.com/bradleyjkemp/cupaloy (#75)
Bumps [github.com/bradleyjkemp/cupaloy](https://github.com/bradleyjkemp/cupaloy) from 2.2.0+incompatible to 2.3.0+incompatible.
- [Release notes](https://github.com/bradleyjkemp/cupaloy/releases)
- [Commits](https://github.com/bradleyjkemp/cupaloy/compare/v2.2.0...v2.3.0)

---
updated-dependencies:
- dependency-name: github.com/bradleyjkemp/cupaloy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-10 06:33:42 -07:00
dependabot[bot] b3ad6c9f2b Bump golang.org/x/tools from 0.1.7 to 0.1.8 (#73)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.1.7...v0.1.8)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-05 19:20:31 -07:00
dependabot[bot] ab3830ef12 Bump github.com/labstack/gommon from 0.3.0 to 0.3.1 (#72)
Bumps [github.com/labstack/gommon](https://github.com/labstack/gommon) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/labstack/gommon/releases)
- [Commits](https://github.com/labstack/gommon/compare/v0.3.0...v0.3.1)

---
updated-dependencies:
- dependency-name: github.com/labstack/gommon
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-10 21:37:54 -07:00
Alex Bice 5a95b1bbca swap to using constants instead of int values. (#71) v0.3.9 2021-11-05 09:51:32 -07:00
dependabot[bot] 6e988a2d0a Bump golang.org/x/tools from 0.1.6 to 0.1.7 (#69)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.1.6...v0.1.7)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-29 19:32:12 -07:00
dependabot[bot] 47b5365ea4 Bump github.com/mattn/goveralls from 0.0.9 to 0.0.11 (#68)
Bumps [github.com/mattn/goveralls](https://github.com/mattn/goveralls) from 0.0.9 to 0.0.11.
- [Release notes](https://github.com/mattn/goveralls/releases)
- [Commits](https://github.com/mattn/goveralls/compare/v0.0.9...v0.0.11)

---
updated-dependencies:
- dependency-name: github.com/mattn/goveralls
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-22 05:47:00 -07:00
dependabot[bot] 7c8ff9723b Bump golang.org/x/tools from 0.1.5 to 0.1.6 (#66)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.1.5...v0.1.6)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-19 19:24:39 -07:00
Alex Bice b4be01eb21 Add character aliases as CLI options (#65) v0.3.8 2021-09-06 12:53:31 -07:00
Alex Bice acf2ee08e9 change to binaries and uname values v0.3.7 2021-09-06 10:50:54 -07:00
Alex Bice 13348bc0cb release: updated v0.3.6 2021-09-06 06:59:42 -07:00
Alex Bice 2b856fec5e add versioning (#64)
* add versioning
v0.3.5
2021-09-05 09:42:06 -07:00
Alex Bice 1012a12a04 update badge 2021-09-04 14:29:38 -07:00
dependabot[bot]andAlex Bice f99dfa8b67 Bump github.com/stretchr/testify from 1.4.0 to 1.7.0 (#57)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.4.0 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Bice <alex.bice@gmail.com>
2021-09-04 11:01:24 -07:00
Alex Bice b811a78763 move to github actions (#63)
* move to github actions
2021-09-04 10:17:22 -07:00
dependabot[bot] 28311a0eb5 Bump golang.org/x/tools from 0.1.1 to 0.1.5 (#62)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.1.1 to 0.1.5.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.1.1...v0.1.5)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-14 14:01:27 -07:00
dependabot[bot] 77fd50b169 Bump github.com/spf13/pflag from 1.0.3 to 1.0.5 (#60)
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag) from 1.0.3 to 1.0.5.
- [Release notes](https://github.com/spf13/pflag/releases)
- [Commits](https://github.com/spf13/pflag/compare/v1.0.3...v1.0.5)

---
updated-dependencies:
- dependency-name: github.com/spf13/pflag
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-11 13:54:31 -07:00
dependabot[bot] 473a7dd3e6 Bump github.com/mattn/goveralls from 0.0.7 to 0.0.9 (#59)
Bumps [github.com/mattn/goveralls](https://github.com/mattn/goveralls) from 0.0.7 to 0.0.9.
- [Release notes](https://github.com/mattn/goveralls/releases)
- [Commits](https://github.com/mattn/goveralls/compare/v0.0.7...v0.0.9)

---
updated-dependencies:
- dependency-name: github.com/mattn/goveralls
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-11 13:31:34 -07:00
dependabot[bot] bf1952514a Bump github.com/golang/mock from 1.4.4 to 1.6.0 (#58)
Bumps [github.com/golang/mock](https://github.com/golang/mock) from 1.4.4 to 1.6.0.
- [Release notes](https://github.com/golang/mock/releases)
- [Changelog](https://github.com/golang/mock/blob/master/.goreleaser.yml)
- [Commits](https://github.com/golang/mock/compare/v1.4.4...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/golang/mock
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-11 09:24:57 -07:00
Matthieu MOREL 1516fdeb2d Create dependabot.yml (#56) 2021-07-11 08:05:11 -07:00
Alex Bice cd5e40dc15 Match go recommended header (#55) v0.3.4 2021-07-06 19:38:36 -07:00
Alex Bice b593b64c9d Go 1.16 support for embedded files (#51)
* add go 1.16
v0.3.3
2021-07-05 13:18:58 -07:00
Charlie Mathews e81b720b31 Add --template flag to provide filenames of additional templates (#53)
* Add --template flag to provide filenames of additional templates

* Update readme

* Add globbing support to templates

* Share globbing code between --file and --template
v0.3.2
2021-04-30 10:59:32 -07:00
Alex Bice f5cbb58565 Add glob support (#50) v0.3.1 2021-03-11 18:26:00 -07:00
Alex Bice 32a201ad60 Add period to comment (#49) 2021-03-11 17:54:12 -07:00
Alex Bice 74db3eb9df Add sql nullable types. (#46)
* Add sql nullable types.
v0.3.0
2021-03-03 15:30:44 -07:00
Alex Bice 5ed55ce3d4 Add case invariant parsing (#45)
* Add case insensitive parsing
v0.2.5
2021-02-16 12:22:23 -07:00
Conor Nevin a1ca18f614 Switch CLI library to urfave/cli (#44)
* Switch to use urfave/cli
v0.2.4
2021-01-11 12:16:20 -07:00
Alex Bice 4cd6275ea8 Don't coverall forks (#42) 2020-12-02 19:12:27 -07:00
Alex Bice 25e6dc5cb8 updates and circle test updates (#40)
* updates and circle test updates

* drop support for 1.11 (go.mod requires 1.12+)
2020-11-15 09:01:13 -07:00
Alex Bice 18aeaefa2e Custom Prefix (#39)
* Add Prefix
v0.2.3
2020-01-17 13:10:37 -07:00
Prasanna Swaminathan 304de84b72 Use value receiver for MarshalText (#37)
* Use value receiver for MarshalText

* Switch to same version of go-bindata installed by homebrew
v0.2.2
2019-12-11 12:03:07 -07:00
Alex Bice 99771f1dcf Create CODEOWNERS 2019-11-26 15:02:28 -07:00
Alex Bice 4fbc1fbb55 Added awesome mentioned tag 2019-09-24 12:42:47 -07:00
Alex Bice fd4b3b6db7 Fixed multi-hyphen sanitization. (#35) v0.2.1 2019-04-19 07:19:17 -07:00
Alex Bice 9b3947d6d7 Added option for snake_case to CamelCase. (#33)
* Added option for snake_case to CamelCase.
The default will be to convert the names of the fields.
There is a flag to disable that conversion.
v0.2.0
2019-04-09 16:45:16 -07:00
Alex Bice c5b07ccb2b gomodules (#32)
* no vendor dir
* Fixes from #31 (README changes)
2019-04-05 10:08:35 -07:00
Alex Bice 835e766971 Add more complex comments (#30)
* generator: added more complex comment parsing.

* Updated dependencies
v0.1.6
2019-02-14 15:42:42 -07:00
Alex Bice 67c9f0e8fd Update dependencies v0.1.5 2018-10-09 20:17:50 -07:00
Alex Bice eeb0412e72 Test coverage (#29)
* Added tests

* Updated readme

* Added sql generation to go:generate
2018-10-06 15:22:46 -07:00
Vladislav Fursov bf0e0aaff7 add support sql scan/value interface (#26)
* add support sql scan/value interface

* remove error if value from sql is nil and fix Value method (remove pointer)

* add example

* fix conflict
2018-10-06 09:06:10 -07:00
Vladislav Fursov cdc5d17d97 Add support comments in ENUM (#27)
* Add support comments in ENUM. Update test, snapshots and readme.

* Adding the support to transfer the comments to the generated file.

* Update README

* add commented example

* Update README.md
2018-10-05 18:36:51 -07:00
Alex Bice 9483740839 Reduced linter warnings. (#22) 2018-08-14 13:13:24 -07:00
Alex Bice 15909329b5 Committing Vendor Dir (#20)
* Committing vendor directory to ensure go get
v0.1.4
2018-07-27 11:49:10 -07:00
Alex Bice 165a551c56 Merge pull request #19 from abice/AddNamesFunc
Added Names function as an optional parameter
2018-06-09 08:08:56 -07:00
Alex Bice 9502d3b6ac Added Names function as an optional parameter 2018-06-08 13:03:44 -07:00
Alex Bice 35a6498f39 Merge pull request #18 from abice/StartWithOffset
Added support for starting with offset
2018-05-25 07:03:01 -10:00
Alex Bice 9b69953e96 Added support for starting with offset 2018-05-25 10:00:33 -07:00
Alex Bice 5d428eed09 Merge pull request #16 from abice/SanitizeValues
Added value name sanitization for valid go identifiers
v0.1.3
2018-04-18 09:07:27 -07:00
Alex Bice 947ac96a35 Added value name sanitization for valid go identifiers 2018-04-16 18:18:56 -07:00