diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-05-16 11:10:40 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-05-16 11:10:40 -0400 |
| commit | b2930794aaac97e1ee89c3c214f8cc42e254d02c (patch) | |
| tree | edc3eec172d2b44575400aabedc562cdc9bf3847 | |
| parent | 3459adac2f76c835e542fa852ff8de85909d09e4 (diff) | |
| download | lulu-b2930794aaac97e1ee89c3c214f8cc42e254d02c.zip | |
keep generated file header out of godoc
| -rw-r--r-- | cover.go | 2 | ||||
| -rw-r--r-- | cover_gen.go | 1 | ||||
| -rw-r--r-- | cover_test.go | 2 | ||||
| -rw-r--r-- | go.mod | 6 | ||||
| -rw-r--r-- | go.sum | 10 | ||||
| -rw-r--r-- | interior.go | 2 | ||||
| -rw-r--r-- | interior_gen.go | 1 | ||||
| -rw-r--r-- | pkgid.go | 2 | ||||
| -rw-r--r-- | pkgid_gen.go | 1 | ||||
| -rw-r--r-- | ship.go | 2 | ||||
| -rw-r--r-- | ship_gen.go | 1 | ||||
| -rw-r--r-- | status.go | 2 | ||||
| -rw-r--r-- | status_gen.go | 1 |
13 files changed, 22 insertions, 11 deletions
@@ -6,7 +6,7 @@ import ( "strconv" ) -//go:generate go run github.com/yawnak/string-enumer -t Unit -t CoverValidationStatus --text -o ./cover_gen.go . +//go:generate go run github.com/sam-rba/string-enumer -t Unit -t CoverValidationStatus --text -o ./cover_gen.go . // Unit is a unit of length measurement. type Unit string diff --git a/cover_gen.go b/cover_gen.go index 1bcbde1..6abf1f4 100644 --- a/cover_gen.go +++ b/cover_gen.go @@ -1,4 +1,5 @@ // Code generated by "string-enumer -t Unit -t CoverValidationStatus --text -o ./cover_gen.go ."; DO NOT EDIT. + package lulu import ( diff --git a/cover_test.go b/cover_test.go index d94e2f0..fe40b69 100644 --- a/cover_test.go +++ b/cover_test.go @@ -94,7 +94,7 @@ func TestUnmarshalCoverValidation(t *testing.T) { 1, "https://www.dropbox.com/sh/p3zh22vzsaegiri/AADP367j0bTWlt8fCu-_tm2ia/161025/139056_cover.pdf?dl=1", 210, - "", + nil, CoverStatusNormalizing, } requireUnmarshalJsonEq(t, want, data) @@ -3,6 +3,8 @@ module git.samanthony.xyz/lulu go 1.25.9 require ( + github.com/adrg/xdg v0.5.3 + github.com/alecthomas/kong v1.15.0 github.com/shopspring/decimal v1.4.0 github.com/stretchr/testify v1.11.1 golang.org/x/oauth2 v0.36.0 @@ -10,12 +12,10 @@ require ( ) require ( - github.com/adrg/xdg v0.5.3 // indirect - github.com/alecthomas/kong v1.15.0 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/sam-rba/string-enumer v0.0.0-20260516150728-84dfedf65d7e // indirect github.com/spf13/pflag v1.0.6 // indirect - github.com/yawnak/string-enumer v0.0.0-20250330104602-f50db3525c45 // indirect golang.org/x/mod v0.35.0 // indirect golang.org/x/sync v0.20.0 // indirect golang.org/x/sys v0.43.0 // indirect @@ -1,19 +1,25 @@ github.com/adrg/xdg v0.5.3 h1:xRnxJXne7+oWDatRhR1JLnvuccuIeCoBu2rtuLqQB78= github.com/adrg/xdg v0.5.3/go.mod h1:nlTsY+NNiCBGCK2tpm09vRqfVzrc2fLmXGpBLF0zlTQ= +github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0= +github.com/alecthomas/assert/v2 v2.11.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k= github.com/alecthomas/kong v1.15.0 h1:BVJstKbpO73zKpmIu+m/aLRrNmWwxXPIGTNin9VmLVI= github.com/alecthomas/kong v1.15.0/go.mod h1:wrlbXem1CWqUV5Vbmss5ISYhsVPkBb1Yo7YKJghju2I= +github.com/alecthomas/repr v0.5.2 h1:SU73FTI9D1P5UNtvseffFSGmdNci/O6RsqzeXJtP0Qs= +github.com/alecthomas/repr v0.5.2/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= +github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/sam-rba/string-enumer v0.0.0-20260516150728-84dfedf65d7e h1:4iVoDEBWLi0hzdVdqkxUsT1OYHrYqbS9zof7a/oUuXA= +github.com/sam-rba/string-enumer v0.0.0-20260516150728-84dfedf65d7e/go.mod h1:IqjpIrSTuoqcSL5noZPLd8b6nnliL0nmIdAoREz3Di4= github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o= github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= -github.com/yawnak/string-enumer v0.0.0-20250330104602-f50db3525c45 h1:0iUqJCEe0kuryd8KPqhnnczbXrD6r66Qrlus4Q7xrb4= -github.com/yawnak/string-enumer v0.0.0-20250330104602-f50db3525c45/go.mod h1:14IQUPrpaeA3sucvDb4CoBSnKSaIrXhKZOfdy4ZIx1E= golang.org/x/mod v0.35.0 h1:Ww1D637e6Pg+Zb2KrWfHQUnH2dQRLBQyAtpr/haaJeM= golang.org/x/mod v0.35.0/go.mod h1:+GwiRhIInF8wPm+4AoT6L0FA1QWAad3OMdTRx4tFYlU= golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs= diff --git a/interior.go b/interior.go index 7c16b0a..54fc08b 100644 --- a/interior.go +++ b/interior.go @@ -1,6 +1,6 @@ package lulu -//go:generate go run github.com/yawnak/string-enumer -t InteriorValidationStatus --text -o ./interior_gen.go . +//go:generate go run github.com/sam-rba/string-enumer -t InteriorValidationStatus --text -o ./interior_gen.go . // InteriorValidationStatus is the status of a validation job for an // interior file that is running on the server. diff --git a/interior_gen.go b/interior_gen.go index 71dda35..ae28876 100644 --- a/interior_gen.go +++ b/interior_gen.go @@ -1,4 +1,5 @@ // Code generated by "string-enumer -t InteriorValidationStatus --text -o ./interior_gen.go ."; DO NOT EDIT. + package lulu import ( @@ -6,7 +6,7 @@ import ( "fmt" ) -//go:generate go run github.com/yawnak/string-enumer -t TrimSize -t ColorType -t Quality -t Binding -t Paper -t Finish -t Linen -t Foil --text -o ./pkgid_gen.go . +//go:generate go run github.com/sam-rba/string-enumer -t TrimSize -t ColorType -t Quality -t Binding -t Paper -t Finish -t Linen -t Foil --text -o ./pkgid_gen.go . // PkgId is a pod_package_id which represents the manufacturing options // of a printable. diff --git a/pkgid_gen.go b/pkgid_gen.go index df391e9..4f769df 100644 --- a/pkgid_gen.go +++ b/pkgid_gen.go @@ -1,4 +1,5 @@ // Code generated by "string-enumer -t TrimSize -t ColorType -t Quality -t Binding -t Paper -t Finish -t Linen -t Foil --text -o ./pkgid_gen.go ."; DO NOT EDIT. + package lulu import ( @@ -5,7 +5,7 @@ import ( "fmt" ) -//go:generate go run github.com/yawnak/string-enumer -t ShippingLevel -t Title --text -o ./ship_gen.go . +//go:generate go run github.com/sam-rba/string-enumer -t ShippingLevel -t Title --text -o ./ship_gen.go . // ShippingLevel is the quality/speed with which a package is shipped. type ShippingLevel string diff --git a/ship_gen.go b/ship_gen.go index b45a02e..f3f8c54 100644 --- a/ship_gen.go +++ b/ship_gen.go @@ -1,4 +1,5 @@ // Code generated by "string-enumer -t ShippingLevel -t Title --text -o ./ship_gen.go ."; DO NOT EDIT. + package lulu import ( @@ -1,6 +1,6 @@ package lulu -//go:generate go run github.com/yawnak/string-enumer -t OrderStatus -t ItemStatus --text -o ./status_gen.go . +//go:generate go run github.com/sam-rba/string-enumer -t OrderStatus -t ItemStatus --text -o ./status_gen.go . type OrderStatus string diff --git a/status_gen.go b/status_gen.go index 2b2bb84..c9b4ee4 100644 --- a/status_gen.go +++ b/status_gen.go @@ -1,4 +1,5 @@ // Code generated by "string-enumer -t OrderStatus -t ItemStatus --text -o ./status_gen.go ."; DO NOT EDIT. + package lulu import ( |