Skip to content

Sorting output of /env handler#16

Open
michurin wants to merge 1 commit into
digitalocean:mainfrom
michurin:sorting-envs
Open

Sorting output of /env handler#16
michurin wants to merge 1 commit into
digitalocean:mainfrom
michurin:sorting-envs

Conversation

@michurin

@michurin michurin commented Jan 5, 2024

Copy link
Copy Markdown

In my humble opinion sorted variables are more readable.

By the way, envs = append(envs, os.Environ()...) seems useless, os.Environ() does the trick for you (it calls syscall.Environ())

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.

1 participant