Commit Graph

  • 144189c1ed Merge pull request #42 from alexquick/feature-sorted-output John Barton 2017-09-18 16:32:10 +10:00
  • 3dd2dbe832 sort output of Write/Marshal Alex Quick 2017-09-16 17:58:01 -04:00
  • 9f04f40640 Be more careful with TestRoundtrip Alex Quick 2017-09-16 17:55:04 -04:00
  • e6264cf869 document Marshal, Unmarshal, and Write Alex Quick 2017-09-16 17:07:22 -04:00
  • 9739509bea Merge pull request #35 from alexquick/feature-write-dotenv John Barton 2017-09-13 22:32:30 -07:00
  • b1bb9d9fc3 rename WriteString/ReadString to Marshal/Unmarshal Alex Quick 2017-09-13 23:18:07 -04:00
  • 5d289f4405 escape some other bash-y special chars ($!) Alex Quick 2017-07-16 18:31:51 -04:00
  • 88e7c8bd35 support for writing envs out in dotenv format Alex Quick 2017-05-06 00:52:21 -04:00
  • c9360df4d1 Merge pull request #34 from alexquick/fix-parsing-issues John Barton 2017-08-22 14:21:26 +10:00
  • 59f20222da Merge pull request #33 from crash7/go-report-card John Barton 2017-08-22 14:17:51 +10:00
  • 9d9ddadf44 Merge pull request #36 from pda/parse-from-reader John Barton 2017-08-06 18:28:30 +10:00
  • 390de3704e README.md mentions Parse(io.Reader) Paul Annesley 2017-08-06 17:27:08 +10:00
  • ebf1036af6 Parse(io.Reader) => map[string]string Paul Annesley 2017-08-06 17:23:28 +10:00
  • a905e99577 fix panic with " as the value Alex Quick 2017-07-16 18:43:49 -04:00
  • 6f30f0c011 support for equals in yaml-style lines Alex Quick 2017-05-20 15:06:01 -04:00
  • 84bf91f40e rudimentry support for nested quotes Alex Quick 2017-05-20 14:50:15 -04:00
  • b9324c6f3c handle escaping more comprehensively Alex Quick 2017-05-06 00:50:30 -04:00
  • 12b7e03247 Add Go Report Card badge and fix spelling error Christian Musa 2017-07-14 21:33:04 -03:00
  • 3ddb2792f3 README housekeeping John Barton 2017-07-05 14:31:29 +10:00
  • 325433c502 Merge pull request #29 from joho/respect_empty_external_env_vars John Barton 2017-03-29 07:01:54 +11:00
  • 034acc2190 Change check of existing env to respect empty (but set) vars. respect_empty_external_env_vars John Barton (joho) 2017-03-28 11:54:56 +11:00
  • cd1272609d Add failing test for override of empty var John Barton (joho) 2017-03-28 11:39:40 +11:00
  • eaf676fc03 Merge pull request #27 from goenning/empty_var John Barton 2017-03-23 07:07:31 +11:00
  • a42a65518c allow empty_var Oenning 2017-03-22 13:05:44 +00:00
  • b01826f956 Merge pull request #25 from matiasanaya/master John Barton 2017-03-21 20:56:48 +11:00
  • 6a1233b2f6 Fix quoted values check Matias Anaya 2017-03-21 18:35:16 +11:00
  • d10b3fbe00 Merge pull request #24 from joho/setup_travis John Barton 2017-02-22 08:49:41 +11:00
  • 0a959c8d8f Add a badge for the windows build too. setup_travis John Barton (joho) 2017-02-22 08:43:40 +11:00
  • bcaccd4f68 Apparently this file is meant to be hidden? John Barton (joho) 2017-02-22 08:29:43 +11:00
  • 22e45bfff4 Switch build badge over to travis John Barton (joho) 2017-02-22 08:27:57 +11:00
  • 2fc79dff51 Replace wercker.yml with travis.yml John Barton (joho) 2017-02-22 08:23:25 +11:00
  • 726cc8b906 Merge pull request #22 from mmilata/dont-swallow-errors v1.1 John Barton 2016-12-17 10:05:37 +11:00
  • 861984c215 Don't hide line parsing errors Martin Milata 2016-12-12 14:43:30 +01:00
  • 0ff0c0fc7a Propagate errors encountered when reading file Martin Milata 2016-12-12 14:41:36 +01:00
  • 4ed13390c0 Merge pull request #13 from jmervine/master John Barton 2015-09-07 11:02:28 +10:00
  • 008304c688 adding Overload method Josh Mervine 2015-09-05 08:51:29 -07:00
  • 443e926da0 Merge pull request #11 from buddhamagnet/master John Barton 2015-06-10 07:30:23 +10:00
  • 2ed25fcb28 remove unecessary assignment in autoloader buddhamagnet 2015-06-09 18:24:15 +01:00
  • f6581828bb outdent else because golint said so. John Barton (joho) 2015-03-23 12:17:14 +11:00
  • d29c003c20 Still trying to please golint with package comments. John Barton (joho) 2015-03-23 12:15:55 +11:00
  • 19b5c2bf30 Some golint feedback from http://goreportcard.com/report/joho/godotenv John Barton (joho) 2015-03-23 12:15:01 +11:00
  • e1c92610d7 run gofmt -w -s ./.. John Barton (joho) 2015-03-23 12:06:31 +11:00
  • ead2e75027 Merge pull request #8 from calavera/add_values_to_envmap John Barton 2015-01-02 15:46:44 +11:00
  • dc9cc93c4e Add values to the envMap when reading the file. David Calavera 2014-12-23 17:57:02 -08:00
  • a01a834e16 Update docs for the bin command. v1 John Barton (joho) 2014-10-12 10:38:08 +11:00
  • d2ce5befea Move cmd.go so it installs as "godotenv" John Barton (joho) 2014-10-12 10:27:22 +11:00
  • a86c254d7d Merge pull request #6 from joho/add_bin_command John Barton 2014-10-12 09:58:57 +11:00
  • 1736a884e7 Improve godoc on Read and Exec add_bin_command John Barton (joho) 2014-10-12 09:58:10 +11:00
  • b2cd7d822b Move the env loadings & command running into main package. John Barton (joho) 2014-10-12 09:50:38 +11:00
  • 8c38c298ed Get the minimum viable of the command working. John Barton (joho) 2014-09-21 10:42:05 +10:00
  • 28b52615cf WIP on adding a bin command John Barton (joho) 2014-09-20 21:38:51 +10:00
  • aab3ea4ba6 Add CI badge for windows from Appveyor. John Barton (joho) 2014-07-14 20:10:23 +10:00
  • 8350eb932e Remove commented out code and go fmt tests. John Barton (joho) 2014-07-14 19:36:35 +10:00
  • 68b1921266 Merge pull request #4 from GoIncremental/4-windows-line-returns John Barton 2014-07-14 19:35:09 +10:00
  • bdacd70f4c fixup David Bochenski 2014-07-10 10:14:38 +01:00
  • ae0bc4ea3c Fix remaining failing test on windows David Bochenski 2014-07-09 15:35:36 +01:00
  • 9c77c4efaf Closes #4 Use bufio.Scanner to read newLines David Bochenski 2014-06-25 16:26:24 +01:00
  • 3c13a80fe1 Merge pull request #3 from ys/feature/accept-equals-in-values John Barton 2014-03-10 14:25:32 +11:00
  • 7e3e1e2c6c Use SplitN instead of split Yannick Schutz 2014-03-07 23:21:31 +01:00
  • 3505098f90 Merge pull request #2 from mattn/seveal_equals John Barton 2013-11-18 01:49:12 -08:00
  • c0dce90b3c FOO=BAR= should be "FOO" = "BAR=" mattn 2013-11-18 18:46:24 +09:00
  • 6e333bd708 add godotenv.Read() which returns a map rather than calling os.Setenv John Barton (joho) 2013-09-04 12:40:17 +10:00
  • 38f18b8248 Merge pull request #1 from wolfeidau/readme_corrections John Barton 2013-09-03 03:37:38 -07:00
  • 4392e21bf6 Small correction to code in the README. Mark Wolfe 2013-09-03 18:34:37 +10:00
  • 05b73c4383 Fix the autoload package. John Barton (joho) 2013-08-06 20:00:06 +10:00
  • 5efd3c5b44 Do more of the documenting. John Barton (joho) 2013-08-02 14:33:40 +10:00
  • d00d0f7ef4 Turns out there was an easier way to read the env file. John Barton (joho) 2013-08-02 13:40:38 +10:00
  • 5896be1361 Add the ability to autoload the env file when you import. John Barton (joho) 2013-07-31 19:46:42 +10:00
  • 42920bbe5d Write up something for "go doc" John Barton (joho) 2013-07-31 14:54:21 +10:00
  • 85e631994e Update readme John Barton (joho) 2013-07-31 14:38:18 +10:00
  • 9ec71cc6c8 Make sure we don't overwrite existing ENV vars. John Barton (joho) 2013-07-31 14:25:10 +10:00
  • 3f6d91c4c0 That is a syntax lol. John Barton (joho) 2013-07-31 14:24:13 +10:00
  • 3d290e5fa8 Love me some build badges. John Barton (joho) 2013-07-31 14:19:29 +10:00
  • 4dc2e84f65 Borrow some of dotenv's readme John Barton (joho) 2013-07-31 14:18:07 +10:00
  • 33e2555609 Licence and more readme John Barton (joho) 2013-07-31 14:16:18 +10:00
  • 6697f812dd Readme with build status. John Barton (joho) 2013-07-31 13:58:23 +10:00
  • 8a879012ea Add wercker.yml for CI John Barton (joho) 2013-07-31 13:55:35 +10:00
  • 9d9f6ccb57 Make Load() without args open .env by default John Barton (joho) 2013-07-31 13:51:59 +10:00
  • ac58adf673 Get the code running against all fixtures. John Barton (joho) 2013-07-31 13:39:59 +10:00
  • 9b4bbb98c3 Clear the env at the start of each integration test. John Barton (joho) 2013-07-31 12:57:44 +10:00
  • 9001b88250 Ignore comment lines and lines full o' whitespace. John Barton (joho) 2013-07-31 12:37:08 +10:00
  • 48ca995c3b Add some more tests. John Barton (joho) 2013-07-31 12:28:41 +10:00
  • 74ec3a085f Handle quoted hashes "properly" John Barton (joho) 2013-07-31 12:24:03 +10:00
  • aa6e870b57 Red, green, rinse repeat. John Barton (joho) 2013-07-31 12:10:31 +10:00
  • 98b43188a1 World's most naive comment parser... John Barton (joho) 2013-07-31 12:08:58 +10:00
  • a37b438d54 Start trying to do comments/quoting properly. John Barton (joho) 2013-07-31 11:48:10 +10:00
  • b3b488372f Mark out the rest of my todo list in the test file. John Barton (joho) 2013-07-30 18:44:17 +10:00
  • 37c8b8e487 export keyword parsing John Barton (joho) 2013-07-30 18:38:10 +10:00
  • 4a2748eb3c Yaml style bro. John Barton (joho) 2013-07-30 18:34:51 +10:00
  • b10c02f9b0 Move the red-green a little way down the existing parser specs. John Barton (joho) 2013-07-30 18:23:33 +10:00
  • 919c161945 Start porting over parser tests. John Barton (joho) 2013-07-30 18:15:58 +10:00
  • d8dfdb69b3 Extract a test helper John Barton (joho) 2013-07-30 17:48:37 +10:00
  • 973cf53008 Get the basic tests green. John Barton (joho) 2013-07-30 17:44:28 +10:00
  • 78ba83b776 First failing tests extracted from dotenv John Barton (joho) 2013-07-30 11:46:52 +10:00
  • ccd8bf5602 Macs are dumb. John Barton (joho) 2013-07-30 11:46:42 +10:00