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

Making the function arguments more idiomatic; move everything to one package #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

thesandlord
Copy link
Contributor

Using a map of strings as the argument for Generate, Base64String, and URIimage seems like an anti-pattern in Go (It would be the right thing to do in Javascript). A more idiomatic approach would be to use a Struct. This change breaks reverse compatibility with this library.

I also moved all the sub-packages into the geopattern package. If this is a problem, I can try and make it work with the sub-packages.

…ings to pass arguments, but rather a struct. Moved all the files to the same package, created some tests as well. Need to write more tests, and change a lot more code to be more idomatic
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

1 participant