Commit Graph

161 Commits

Author SHA1 Message Date
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
Dan Markham 49fa643993
Allow multiple trim prefixes
based on changes from @sgtsquiggs
2020-02-23 13:24:02 -08:00
Dan Markham f93c6b0e0b
Merge pull request #24 from dmarkham/port-runs-threshold-bug
Port runs threshold bug
2019-07-18 08:19:26 -07:00
Dan Markham cdbbf12521
Port fix from @ltpquang 2019-07-18 08:06:39 -07:00
Quang Le 1467a49eb3
Add test cases that make the endtoend test failed 2019-07-18 08:05:55 -07:00
Quang Le 0bc4e9e23e
Fix typos 2019-07-18 08:05:50 -07:00
Dan Markham 2440b832e4
Merge pull request #23 from dmarkham/doc
Doc updates around <Type>String(s string) Case Insensitive
2019-05-05 15:24:55 -07:00
Dan Markham 14261a8f07
Doc updates around <Type>String(s string) Case Insensitive 2019-05-05 15:07:38 -07:00
Dan Markham e080e58c1e
Merge pull request #22 from dmarkham/case-insensitive-name
Make PillString case insensitive
2019-05-05 14:51:03 -07:00
Dan Markham 2a31c850ad
Make PillString case insensitive
fixes #21
2019-05-04 15:33:34 -07:00
Dan Markham f993037eaa
Merge pull request #20 from dmarkham/docs-update
Adding in the Usage
2019-04-24 22:51:19 -07:00
Dan Markham ae561ba734
Adding in the Usage 2019-04-23 21:21:16 -07:00
Dan Markham c504b164b0
Merge pull request #19 from dmarkham/linecomment
Line comment support #18
2019-04-23 15:22:57 -07:00
Dan Markham ccf4a55cf2
Line comment support #18 2019-04-23 15:13:34 -07:00
Dan Markham 325a6e167c
Merge pull request #17 from mvrhov/patch-1
Create temporary file in same directory as the final fiel resides
2019-04-19 00:02:44 -07:00
Miha Vrhovnik ceea85e531
Create temporary file in same directory as the final fiel resides
If temp file is created on different parition, then move command will fail
2019-04-19 08:38:40 +02:00
Dan Markham 1cbec6c016
Merge pull request #15 from dmarkham/readme-updates
Add a example for go mods use
2019-04-08 00:20:15 -07:00
Dan Markham 24de023e5c
Add a example for go mods use 2019-04-07 23:56:38 -07:00
Dan Markham a6b59c2799
Merge pull request #13 from dmarkham/dmarkham-readme
Update README.md
2019-04-07 23:12:50 -07:00
Dan Markham cc772a950e
Merge branch 'master' into dmarkham-readme 2019-04-07 22:55:14 -07:00
Dan Markham 46e7802ac4
Merge pull request #14 from dmarkham/travis-dist-change
use xenial in travis
2019-04-07 22:55:03 -07:00
Dan Markham 66589be05d
use xenial in travis 2019-04-07 22:40:50 -07:00
Dan Markham 49d05009d0
Update README.md 2019-04-07 20:02:31 -07:00
Dan Markham 579c571630
Merge pull request #12 from dmarkham/readme-updates
Readme updates
2019-04-05 06:52:10 -07:00
Dan Markham 76fd2e5795
update 2019-04-05 01:57:06 -07:00
Dan Markham 04ed547ca1
Merge pull request #11 from dmarkham/coverage
Getting coverage setup
2019-04-05 01:41:58 -07:00
Dan Markham 5dff465061
Getting coverage setup 2019-04-05 01:30:06 -07:00
Dan Markham cff78b5241
Merge pull request #10 from dmarkham/travis-setup
testing and deploy with travis
2019-04-05 01:10:09 -07:00
Dan Markham a34ce5a636
testing and deploy with travis 2019-04-05 00:59:36 -07:00
Dan Markham 2d3b4cc0c7
Merge pull request #9 from dmarkham/travis-setup
testing a deploy with travis
2019-04-05 00:04:06 -07:00
Dan Markham f524145d2a
testing a deploy with travis 2019-04-04 23:54:40 -07:00
Dan Markham 988c3334e5
Merge pull request #8 from dmarkham/readme
Updates to the readme
2019-04-04 23:02:50 -07:00
Dan Markham 07dc9c9dbe
Updates to the readme 2019-04-04 22:53:44 -07:00
Dan Markham 296228769d
Merge pull request #7 from dmarkham/new-comment
Only add the comment line when there is a comment
2019-04-04 18:52:02 -07:00
Dan Markham 58249b251f
Only add the comment line when there is a comment 2019-04-04 18:48:04 -07:00
Dan Markham 610f60356d
Merge pull request #6 from dmarkham/whitespace-docs
Whitespace + docs
2019-04-04 18:03:35 -07:00
Dan Markham 107292ddbc
resolve some conflicts 2019-04-04 17:57:54 -07:00
Dan Markham 72a8443d38
Merge pull request #5 from dmarkham/serjlee
Serjlee
2019-04-04 17:15:40 -07:00
Dan Markham f8e96284fe
Merging in serjlee 2019-04-04 17:11:33 -07:00