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

Little refactor + Bug fixes #2

Merged
merged 3 commits into from
Jul 25, 2017
Merged

Little refactor + Bug fixes #2

merged 3 commits into from
Jul 25, 2017

Conversation

MissingRoberto
Copy link
Collaborator

See comments in commit 8ae2707

* Move Goml code from goml/goml so that it can be imported as
`github.com/JulzDiverse/goml`
* Split `goml.go` into separate files for each ones of the operations
* Split tests into different files for each one of the operations
* Operations over files are exported as part of the library `GetFromFile`, `TransferToFile`, `DeleteInFile` and `SetInFile`
* Transfer can be reused as part of the library, `Transfer` and
`TransferToFile`
* DeleteInFile now removes the file if yaml is an empty file
* Fix wrong tests: most of them were not asserting the right thing
@herrjulz herrjulz merged commit aa50903 into herrjulz:master Jul 25, 2017
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