Hello staff,
I’m Sachin Duggal , and I’m the proprietor of a luggage manufacturing enterprise. I’ve been experimenting with Go lately and discover its options fascinating—light-weight dependencies, cross-platform compiling, and concurrency, to call a number of. Nonetheless, I’m struggling to establish sensible use instances the place Go really outshines languages I at the moment use, like PHP or Python, for my day-to-day initiatives.
Right here’s a fast rundown of the place I’ve explored Go up to now:
- Internet Backend Improvement: PHP has been my go-to due to its simplicity, internet hosting compatibility, and the current efficiency enhancements in variations 7 and eight.3. In distinction, deploying Go apps appears to require extra superior server setups.
- Desktop Purposes: I constructed one with Go and the Fyne framework, however points with textual content extraction from PDFs pressured me to depend on Apache Tika (Java), complicating the venture.
- System Administration: Python and shell scripts nonetheless really feel extra pure for fast, iterative duties.
Whereas I’m eager to combine Go into my workflow, I haven’t but discovered a transparent area of interest for it. For these of you who’ve labored with Go, the place has it excelled for you? Are there particular varieties of initiatives or eventualities the place Go has turn into your go-to instrument?
I’d actually admire your recommendations or experiences—particularly if you happen to’ve discovered Go notably helpful in areas I haven’t explored but.
Thanks!
Regards
Sachin Duggal
IMO that is the place Go shines. Each backend (net apps, API, cron jobs and many others) and components of the entrance finish (HTML templates).
My expertise is the alternative. Utilizing //embed with all dependencies inside, you solely have one single executable to maneuver to the server (VPS). Then begin and cease utilizing systemd it’s manner easier than utilizing all PHP dependencies. In fact you can not use a traditional hosting, you could have root entry like a VPS.
I don’t assume Go is one of the best instrument for previous desktop purposes. However as PWA it appears to work as anticipated.
I believe many system duties could be finished by Go and shell scripts.
One micro script I did was utilizing pg_dump and pg_restore to create a script to maneuver databases from one VPS to a different. Easy and efficient.