Skip to content

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.

1 participant