Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make output conform to gofmt standard #8

Merged
merged 1 commit into from Oct 25, 2018
Merged

make output conform to gofmt standard #8

merged 1 commit into from Oct 25, 2018

Conversation

csimons
Copy link
Contributor

@csimons csimons commented Oct 17, 2018

Map values should be space-aligned against all other adjacent
non-composite values. The initial line of a composite value should not
be space aligned, and child members of composite values should be
indented. Blank line emission also needed to be tweaked.

Failure of prior version to conform to gofmt standard can be
demonstrated by creating the following file/directory structure,
running go-bindata, and then running "go fmt".

a
bb
ccc
ccc/a
dddd
eeeee
f
g
g/a

@csimons csimons changed the title make map output conform to gofmt standard make output conform to gofmt standard Oct 17, 2018
Map values should be space-aligned against all other adjacent
non-composite values.  The initial line of a composite value should not
be space aligned, and child members of composite values should be
indented.  Blank line emission also needed to be tweaked.

Failure of prior version to conform to gofmt standard can be
demonstrated by creating the following file/directory structure,
running go-bindata, and then running "go fmt".

    a
    bb
    ccc
    ccc/a
    dddd
    eeeee
    f
    g
    g/a
@liweiv liweiv merged commit 41975c0 into go-bindata:master Oct 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants