
Go Regular Expressions with the regexp Package
Go regular expressions let you search, check and change text using patterns instead of exact words. In this post, you will match text and…
Topic
Golang tutorials and guides: Go basics, concurrency, goroutines, channels and backend development with Go.

Go regular expressions let you search, check and change text using patterns instead of exact words. In this post, you will match text and…

The Go time package handles dates, clocks, durations and timers in one place. In this post, you will create dates and format them with…

A Go worker pool runs many jobs with a fixed number of goroutines. So your program stays fast without overloading the machine. In this…

The Go select statement lets one goroutine wait on several channels at once and react to the first one ready. In this post, you…

Go struct embedding lets you place one struct inside another so the outer struct reuses its fields and methods. In this post, you will…

Go type assertion lets you take a value out of an interface and use it as its real, concrete type. In this post, you…

Go panic and recover let a program deal with errors that are too serious for a normal return value. In this post, you will…

Go closures are functions that remember the variables around them, even after the outer function has finished. In this post, you will write anonymous…

Go strings hold text, such as a user’s name or even a full web page. In this post, you will learn how text is…

Go database access starts with the database/sql package, which ships with the standard library. In this post, you will open a connection, create a…