Merge pull request #41 from dmarkham/readme-update

Readme update
This commit is contained in:
Dan Markham 2021-01-31 09:45:39 -08:00 committed by GitHub
commit 677b61cc2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -4,8 +4,8 @@ matrix:
allow_failures: allow_failures:
- go: master - go: master
include: include:
- go: 1.13.x
- go: 1.14.x - go: 1.14.x
- go: 1.15.x
- go: master - go: master
env: env:
global: global:
@ -24,6 +24,6 @@ deploy:
- cli/build/enumer.windows-amd64.exe.tar.gz - cli/build/enumer.windows-amd64.exe.tar.gz
- cli/build/sha256sum.txt - cli/build/sha256sum.txt
on: on:
go: 1.14.x go: 1.15.x
repo: dmarkham/enumer repo: dmarkham/enumer
tags: true tags: true

View File

@ -20,6 +20,8 @@ Flags:
transform each item name by adding a prefix. Default: "" transform each item name by adding a prefix. Default: ""
-comment value -comment value
comments to include in generated code, can repeat. Default: "" comments to include in generated code, can repeat. Default: ""
-gqlgen
if true, GraphQL marshaling methods for gqlgen will be generated. Default: false
-json -json
if true, json marshaling methods will be generated. Default: false if true, json marshaling methods will be generated. Default: false
-linecomment -linecomment

2
go.mod
View File

@ -5,4 +5,4 @@ require (
golang.org/x/tools v0.0.0-20200221224223-e1da425f72fd golang.org/x/tools v0.0.0-20200221224223-e1da425f72fd
) )
go 1.13 go 1.14