Hi,
Am 23.08.2017 um 23:12 schrieb doug...@cornershopapp.com:
i have created a simple url shortener service, for practice and learn
with go, what do you think !
https://github.com/douglasmakey/ursho
It looks like implementing an URL shortener is a natural choice for
wetting your toes with Go. I've done something very similar:
https://github.com/lutzhorn/shorturl
My project adds a simple web GUI, uses http://hashids.org/ instead of DB
row IDs, and sends an email about a newly inserted URL.
Your project has a nice structure. Especially separation of into
packages and the use of `base.go` are good ideas. Creating the table
from code makes deployment easier.
Did you think about using DB transactions, for example in `Load`?
Lutz
--
Lassen Sie uns unsere E-Mails verschlüsseln! So geht's:
https://emailselfdefense.fsf.org/de/
Meinen öffentlichen Schlüssel finden Sie hier:
https://www.lhorn.de/0xC52DFC3A.asc
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.