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

Read environment variables #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mooreryan
Copy link

Addresses #15.

  • I based the format on the working with files test.
  • I used the category of "operating system" as that is what the Rust cookbook uses for reading environment variables.

Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I've left some notes

README.md Outdated Show resolved Hide resolved
// First, unset the PORT variable.
//
// We do this fist to get the environment into a known state. If the PORT
// variable is not already set, this will have no effect.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comments should describe how perform each task, it shouldn't be telling a story. See the other examples for the style

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully it now better matches what you want. It's more similar to the work_with_files.gleam example now.

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.

2 participants