Commit Graph

199 Commits

Author SHA1 Message Date
Dan Markham 5f699e34ac
Merge pull request #76 from asherry99/go-1.20.1
Bump golang.org/x/sys (Fixes Go 1.20.1 Issue:  package "fmt" without types was imported)
2023-03-03 11:01:09 -08:00
Alex Sherry e5d86dd25d Bump golang.org/x/sys 2023-02-17 16:37:17 -08:00
Dan Markham ff555f73ed
Merge pull request #71 from moritamori/fix-readme
Readme update for alternative string values flag
2022-11-19 23:05:53 -08:00
moritamori ed2895e2a7 Readme update for alternative string values flag 2022-11-13 23:41:23 +09:00
Dan Markham 71d3edd22d
Merge pull request #69 from eleduardo/publishapplesilicon
publish the apple silicon binary
2022-10-02 13:41:22 -07:00
Eduardo Solis 49441931ac
Merge branch 'master' into publishapplesilicon 2022-09-29 08:38:53 -05:00
Eduardo Solis f8c85a7a99
publish the apple silicon binary 2022-09-29 08:37:54 -05:00
Dan Markham 6e1910cc4f
Merge pull request #68 from eleduardo/go182fix
Fixing go18.2 generation due to tools breaking
2022-09-28 16:08:07 -07:00
Eduardo Solis e79db5ce74
Fixing go18.2 generation due to tools breaking 2022-09-14 15:08:55 -05:00
Dan Markham 0f231a24f5
Merge pull request #60 from urso/bump-tools-v0.1.11
Upgrade golang.org/x/tools to v0.1.11
2022-08-16 09:02:22 -07:00
urso 98641f4fd2 Upgrade golang.org/x/tools to v0.1.11 2022-06-20 13:21:50 +02:00
Dan Markham aa45c0d477
Merge pull request #59 from smlx/bump-tools
fix: upgrade golang.org/x/tools for go 1.18 compatibility
2022-04-12 07:05:12 -07:00
Scott Leggett df780b2a0e
fix: upgrade golang.org/x/tools for go 1.18 compatibility 2022-03-28 19:27:25 +08:00
Dan Markham caff60ea13
Merge pull request #58 from dmarkham/dan/go-bump
Move to go 1.17
2022-03-23 08:59:54 -07:00
Dan Markham 881cbb24bf
MOve to go 1.17 2022-03-23 08:54:45 -07:00
Dan Markham b43356ef4a
Merge pull request #54 from mieubrisse/patch-1
Add usage for module-aware generation
2022-03-23 08:54:11 -07:00
Dan Markham 3bf002e2f3
Merge branch 'master' into patch-1 2022-03-23 08:45:49 -07:00
Dan Markham 28a1efd624
Merge pull request #56 from piiano/nhaas/support_1.18
Upgrade x/tools
2022-03-23 08:45:07 -07:00
Nir Haas af60bb2988 Upgrade x/tools 2022-02-20 15:32:40 +02:00
mieubrisse a1605fba51
Add usage for module-aware generation 2022-02-04 13:25:17 -03:00
Dan Markham 585d6b237e
Merge pull request #51 from mvrahden/feature/values
Feature/values add support for ent EnumValues interface
2021-10-26 13:00:42 -07:00
Menno 67b1febc1d fix comment 2021-10-17 14:32:26 +02:00
Menno 074b95bab8 add documentation for alternative string values flag 2021-10-17 14:32:13 +02:00
Menno f80c486834 add alternative string values method 2021-10-17 14:31:43 +02:00
Dan Markham 328a338ddb
Merge pull request #48 from dmarkham/dan/apple-m1
Adding support for Apple arm64
2021-07-26 08:00:24 -07:00
Dan Markham 367f14bcb1
Adding support for Apple arm64 2021-07-21 23:41:59 -07:00
Dan Markham 9d0b7d4c67
Merge pull request #44 from dmarkham/dan/issue-43
Return the same string passed for error
2021-07-21 23:20:05 -07:00
Dan Markham b85f109b7f
Return the same string passed for error
Fixes Issue #43
2021-07-21 23:11:39 -07:00
Dan Markham 677b61cc2c
Merge pull request #41 from dmarkham/readme-update
Readme update
2021-01-31 09:45:39 -08:00
Dan Markham be4c11f837
Move to go1.15.x 2021-01-30 23:39:52 -08:00
Dan Markham 2479605aa2
Readme update 2021-01-30 23:37:57 -08:00
Dan Markham b96c3ca7db
Merge pull request #39 from vladimiroff/gqlgen
Add flag for generating gqlgen marshaling methods
2021-01-30 23:24:15 -08:00
Kiril Vladimiroff 67e4e9619f Add flag for generating gqlgen marshaling methods 2020-09-18 16:35:44 +03:00
Dan Markham 67fb6efca7
Merge pull request #38 from dmarkham/dan-fix-case-insensitive
case insensitive bug fix
2020-08-08 21:35:08 -07:00
Dan Markham eb484e6440
case insensitive bug fix 2020-08-08 21:23:56 -07:00
Dan Markham 0a1f0e6d70
Merge pull request #36 from dmarkham/golang-bump
golang 1.14
2020-06-09 14:40:58 -07:00
Dan Markham be960ad5f1
golang 1.14 2020-06-09 13:45:55 -07:00
Dan Markham 5c8e883cf6
Merge pull request #35 from xescugc/fg-34
Fixed: Error when transformer emptied the values
2020-06-09 13:11:03 -07:00
xescugc cb6196db58 stringer: Add logic to fail if transformer empties value
If the output of the transformer is '' means that something went wrong (if it had a value before) and so
it needs to fail to not conntinue with silence errors
2020-06-08 21:31:25 +02:00
xescugc 20d9792920 golden_test: Add test for 'linecomment'
It'll fix https://github.com/dmarkham/enumer/issues/27 as it includes the golden
test for it
2020-06-08 20:16:02 +02:00
Dan Markham 9741c5ae47
Merge pull request #33 from dmarkham/sql-typeo
typeo in the template var
2020-03-16 12:27:02 -07:00
Dan Markham 017d714532
typeo in the template var 2020-03-16 10:52:02 -07:00
Dan Markham 3100ad138c
Merge pull request #32 from vladimiroff/scan-type
Implement Scan with a type switch
2020-03-15 23:18:03 -07:00
Kiril Vladimiroff 78ada3fc29
Implement Scan with a type switch
This is just a minor (and a bit opinionated) tweak in Scan. While using
the generated Scan method, realized that what's being returned from any
driver I've stumbled upon is actually []byte instead of string, thus
always causing a one failed type assertion on Scan.
2020-03-05 16:18:52 +02:00
Dan Markham d46c853929
Merge pull request #30 from dmarkham/use-constant-names
Use constant names, Help the compiler detect value changes
2020-02-23 23:11:09 -08:00
Dan Markham 8d7221cc8a
enum value change detector 2020-02-23 22:47:17 -08:00
Dan Markham 9793e421ce
use constant names 2020-02-23 15:24:20 -08:00
Dan Markham 56342fda5f
Merge pull request #29 from dmarkham/multi-prefix
Allow multiple trim prefixes
2020-02-23 13:55:50 -08:00
Dan Markham df8df69062
Update Deps 2020-02-23 13:45:14 -08:00
Dan Markham f6864bbebc
Move to go 1.13.x for default build 2020-02-23 13:30:45 -08:00