183 Commits
Author SHA1 Message Date
dependabot[bot] d1e1e68448 Bump golang.org/x/text from 0.11.0 to 0.12.0 (#209) 2023-08-07 03:00:04 +00:00
dependabot[bot] 814ae9e141 Bump golang.org/x/tools from 0.11.0 to 0.11.1 (#208)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.11.0...v0.11.1)

---
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>
2023-08-06 19:56:42 -07:00
Skip Baney bf63e10858 feat: make enum comment available in templates (#206) v0.5.7 2023-07-25 16:24:56 -07:00
dependabot[bot] eaf68b4105 Bump golang.org/x/text from 0.10.0 to 0.11.0 (#204) 2023-07-10 12:40:51 +00:00
dependabot[bot] 453e403010 Bump golang.org/x/tools from 0.10.0 to 0.11.0 (#203) 2023-07-10 12:36:43 +00:00
dependabot[bot] 9cab8cb2ce Bump github.com/urfave/cli/v2 from 2.25.6 to 2.25.7 (#202)
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.25.6 to 2.25.7.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.25.6...v2.25.7)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
  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>
2023-07-10 05:32:19 -07:00
dependabot[bot] 9438fdbd53 Bump golang.org/x/tools from 0.9.3 to 0.10.0 (#201) 2023-06-28 14:01:23 +00:00
dependabot[bot] 8edfa1dbe4 Bump golang.org/x/text from 0.9.0 to 0.10.0 (#200)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  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>
2023-06-28 06:56:56 -07:00
dependabot[bot] 7693601c72 Bump github.com/urfave/cli/v2 from 2.25.4 to 2.25.6 (#199)
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.25.4 to 2.25.6.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.25.4...v2.25.6)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
  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>
2023-06-13 07:13:48 -07:00
dependabot[bot] cf1fbc728d Bump golang.org/x/tools from 0.9.1 to 0.9.3 (#197) 2023-06-13 14:09:27 +00:00
dependabot[bot] 210c89ee5e Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#196)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  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>
2023-06-13 07:04:26 -07:00
dependabot[bot] 5a190536f4 Bump github.com/urfave/cli/v2 from 2.25.3 to 2.25.4 (#195)
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.25.3 to 2.25.4.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.25.3...v2.25.4)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
  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>
2023-05-29 06:43:52 -07:00
dependabot[bot] 2712712122 Bump github.com/urfave/cli/v2 from 2.25.1 to 2.25.3 (#191)
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.25.1 to 2.25.3.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.25.1...v2.25.3)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
  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>
2023-05-23 20:09:38 -07:00
dependabot[bot] 4775a7b718 Bump github.com/mattn/goveralls from 0.0.11 to 0.0.12 (#189)
Bumps [github.com/mattn/goveralls](https://github.com/mattn/goveralls) from 0.0.11 to 0.0.12.
- [Release notes](https://github.com/mattn/goveralls/releases)
- [Commits](https://github.com/mattn/goveralls/compare/v0.0.11...v0.0.12)

---
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>
2023-05-23 20:02:02 -07:00
dependabot[bot] 937c8e27f7 Bump golang.org/x/text from 0.8.0 to 0.9.0 (#186)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  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>
2023-05-23 19:52:22 -07:00
dependabot[bot] dab27877cd Bump golang.org/x/tools from 0.7.0 to 0.9.1 (#192)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.7.0 to 0.9.1.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.7.0...v0.9.1)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  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>
2023-05-23 19:47:10 -07:00
dependabot[bot] f641c25e75 Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (#193)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  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>
2023-05-23 17:49:12 -07:00
Alex Bice f8fd3fd9e1 change to examples directory and add build tags (#194) 2023-05-23 17:31:58 -07:00
Alex Bice 97611fddaa test releases (#185) v0.5.6 2023-03-26 14:37:20 -07:00
Alex Bice c76d0d63d5 fix release (#184) 2023-03-26 13:52:47 -07:00
Alex Bice 96d5c8d995 add isValid to non string enums (#183) 2023-03-26 13:38:14 -07:00
ThinkChaos b9e7d1ac24 feat: add support for specifying string enum values (#165)
* feat: add support for specifying string enum values

* add Quote handling
v0.5.5
2023-01-29 18:47:41 -07:00
Alex Bice 1e5efaa27b Add Values() (#167)
* add values template

* add no comments flag
2023-01-28 16:57:35 -07:00
dependabot[bot] 5354791d5e Bump goreleaser/goreleaser-action from 3 to 4 (#162)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 3 to 4.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-27 16:00:51 -07:00
dependabot[bot] a4720f3ff6 Bump actions/cache from 1 to 3 (#161)
Bumps [actions/cache](https://github.com/actions/cache) from 1 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v1...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-27 15:46:26 -07:00
Alex Bice faa9adf2ed add github actions dependabot 2022-12-27 15:05:55 -07:00
Alex Bice 9793817a5b fix parsing with parens (#160) v0.5.4 2022-12-21 12:25:22 -07:00
Angus Dippenaar 8e2c93debf Fix deprecated function use, ignored return (#139)
* Fix deprecated

* fix strings.Title deprecation
v0.5.3
2022-11-08 06:22:38 -07:00
Angus Dippenaar 003d27982e Use GOFILE env var (#141)
* Add GOFILE as env var

* remove file flags
2022-11-08 06:03:29 -07:00
Alex Bice fe1c7d4a55 update dependencies (#149) v0.5.2 2022-10-31 07:31:33 -07:00
Alex Bice e9f5c5b20c add sqlint support for string type enums (#135) 2022-10-31 07:05:28 -07:00
Raiven 58e3ed8fc2 rename error from _XXXErrNilPtr to errXXXNilPtr. (#133)
Please see https://staticcheck.io/docs/checks#ST1012
v0.5.1
2022-09-24 09:40:17 -07:00
Alex Bice 8bf8c2d493 Fix prefix problem (#134)
* update dependencies

* Examples with prefix replacement.

* remove go 1.16 from github actions
2022-09-24 09:33:05 -07:00
Alex Bice bc24b100a9 Add support for string enums (#124)
* add support for string enums
v0.5.0
2022-08-03 15:35:20 -07:00
Alex Bice f579af1dcf bump deps (#123) 2022-07-31 14:16:57 -07:00
Alex Bice 2bf3f089be move examples folder (#112)
* Remove the need for the examples repo to be tested
v0.4.3
2022-06-17 13:32:51 -07:00
Daniel SonckandDaniel Sonck 49489423da Fix ignoring text after closing ) also for single line ENUM (#111)
Co-authored-by: Daniel Sonck <dsonck@bouwatch.nl>
2022-06-15 14:38:16 -07:00
Alex Bice 95d64ebbc0 add more test coverage (#109) v0.4.2 2022-06-08 12:38:15 -07:00
Alex Bice e94287eeb7 bump dependencies, and simply increment (#108) 2022-06-08 10:38:42 -07:00
Alex Bice 8268238fd7 support negative values (#107)
* support negative values
2022-06-08 08:43:18 -07:00
Alex Bice b8f9fa6805 fix parsing (#105)
* fix parsing
2022-06-07 06:56:04 -07:00
Egor GartmanandEgor Gartman 2485d8f837 Add non-ASCII enum values support (#97)
* Add non-ASCII enum values support

* fix go1.18 tests

Co-authored-by: Egor Gartman <evgartman@avito.ru>
v0.4.1
2022-05-12 10:23:27 -07:00
Alex Bice 7e2e8bcd62 Change generated binary to 1.18 (#91)
* Update to support go 1.18 stuff

* add new tests

* change release to use 1.18

* fix older versions

* drop support of 1.13

* up the code coverage
v0.4.0
2022-03-20 08:20:50 -07:00
Alex Bice ff7c099d6f add 1.17 and 1.18 (#90)
* add 1.17 and 1.18

* support 64 bit types

* debug failures

* use the right bin
2022-03-19 16:05:57 -07:00
dependabot[bot] 861d2dc1b2 Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#88)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  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>
2022-03-19 15:53:29 -07:00
dependabot[bot] 0443138183 Bump github.com/urfave/cli/v2 from 2.3.0 to 2.4.0 (#86)
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.3.0...v2.4.0)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
  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-03-19 15:51:57 -07:00
dependabot[bot] 06ca88018f Bump golang.org/x/tools from 0.1.9 to 0.1.10 (#87)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.1.9 to 0.1.10.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.1.9...v0.1.10)

---
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>
2022-03-19 15:49:25 -07:00
Alex Bice e477e74e05 ensure test works (#84)
* ensure test works

* update the assets
v0.3.11
2022-02-10 17:04:20 -07:00
dependabot[bot] 19344012b8 Bump github.com/kevinburke/go-bindata (#82)
Bumps [github.com/kevinburke/go-bindata](https://github.com/kevinburke/go-bindata) from 3.22.0+incompatible to 3.23.0+incompatible.
- [Release notes](https://github.com/kevinburke/go-bindata/releases)
- [Changelog](https://github.com/kevinburke/go-bindata/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kevinburke/go-bindata/compare/v3.22.0...v3.23.0)

---
updated-dependencies:
- dependency-name: github.com/kevinburke/go-bindata
  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-02-01 05:55:15 -07:00
dependabot[bot] 316f983761 Bump golang.org/x/tools from 0.1.8 to 0.1.9 (#81)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.1.8 to 0.1.9.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.1.8...v0.1.9)

---
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>
2022-02-01 05:52:17 -07:00