#where can I learn to script with go

30 messages · Page 1 of 1 (latest)

wanton barn
#

Hi! At least for me, after learning the basics of any language, the best for that is to start writing tiny projects. For example a basic API, a CLI, or a backend of a web page.

#

With Go is better to try to use the standard library, but I agree with using some external packages that help you make the first projects easier so you don't feel frustrated trying to write everything from scratch.

misty rain
#

now thats

#

basic basic

#

HAHA

wanton barn
#

😂 In that case, some projects using microservice architecture, with Docker compose to deployment (with go routines to make graceful shutdown of the services) and collaborate with big projects on GitHub.

misty rain
#

It’s a bit confusing

#

to like navigate thru everything

wanton barn
#

Yes, the best is looking for popular projects there. See the issues and contribute by sending pull requests.

#

You can filter for language and popularity.

midnight lake
misty rain
calm lynx
#

probably learn how to build a crud api first

#

alongside git

wanton barn
#

I agree with @calm lynx

misty rain
calm lynx
#

I can't remember what I used to learn git but theres probably some good guides

#

once you familiarise urself with go's http lib u could try hook it up to a database, for this i recommend downloading docker which can run any db u want in a container (which is nicer than doing a complete install on ur computer). i'd go with an sql db:
https://www.w3schools.com/sql/

formal merlin
#

https://lets-go.alexedwards.net/

This is a great book and worth the money.
It'll expose you to a lot of unknown-unknowns you tend to miss being self taught like dependency injection.

Might be a steep learning curve, but working through all the projects will leave you equipped to build pretty much any type of app with go

misty rain
#

not gonna lie im not so much of the best reader but i gotta overcome it

#

as i much more like getting taught via video or so

#

as no matter what i read

#

even if i like it my eyes get tired and poof im asleep