A URL Shortener Service using Go, Iris and Bolt
If you follow the social media sites like Twitter and Google+, you’ll have noticed that ...
For further actions, you may consider blocking this person and/or reporting abuse
Pretty cool tutorial, I like it.
However, Iris should be avoided tbh, not because Go devs mostly hated frameworks, but because the author has a tendency to rewrite Git history, removing contributors' contributions.
Read more: reddit.com/r/golang/comments/b481q...
Edit: I messed up, and I'm sorry.
Hello, I am glad you liked it!
About your comments, I am honesty believe that you are one of those people that don't really want to deflame Iris, you just fell into a scam in the middle of a personal attack. When you have time, Check the repo by yourself, including the history, the prs and the code and write down your results, please.
Also, check out one of my newest projects, Iris depends on that for its routing: github.com/kataras/muxie, I am waiting for your feedback if you really care so much about my development process.
Another good article to read is the "top 6 web frameworks for go" by
usejournal.com
: blog.usejournal.com/top-6-web-fram...Sincerely,
Thanks for clarifying.
I got sucked into the Reddit flaming, and I'm sorry for it.
Jonathan, You are talking to the author of Iris!
You just replied to the author of Iris my man.
shouldn't the short link be some sort of hash of the URL?
You are right, however, this tutorial was for the very beginners. Devs with experience can change the algorithm with ease, it lives in a single spot in the source code. Hashing wouldn't allow to push duplicates as well, the method we use here is by giving an UUID to the link, so the link can be after linked to a database per user for example. The article was mostly written to learn how you can link a database with the logic and the actual routes by creating something all of us know, url short links. However, I am 100% open to continue by uploading a new post (when I finish the new release of Iris) which will describe more advanced features, not only hashing as tring (which is easy enough with Go) if you wanna so. Thank you for your feedback @rhymes !
I think it's fine, thanks! :)
You're welcome. You already gave me a push for writing more articles, including hashing, request authentication/verification and etc, make sure you follow me up :)