
go podcast()
85 episodes — Page 2 of 2
Ep 35035: Going deeper into Encore with its founder André Eriksson
A follow-up episode on last week episode. We go a little bit deeper into Encore with André Eriksson. Encore can do a lot for your Go project and infrastructure. It allows your team to focus on your product and provides local development and DevOps tooling that help your team go faster.Links:Encore.dev - websiteEncore on GitHubAndré on TwitterHow to support the show:Share and talk about it.Purchase my courses: Build SaaS apps in Go and Build a Google Analytics in Go (50% off for listeners of the show).Want to join as a guest, pitch me your idea via Twitter @dominicstpierre.
Ep 34034: Encore, domain design in Go with Bill Kennedy
This week I'm joined by Bill Kennedy. Bill makes me discover Encore which can handles service-to-service communication while programmers focus on their application. We talk about domain design in Go and how to architect an isolated system following the 3-tier layer design.Links:Encore GitHub repoArdan Labs Encore GitHub repoArdan Labs Service GitHub repoBill on TwitterArdan LabsAs always if you enjoy the show consider sharing it / talking about it. If you'd want to support the effort the best way is by purchasing my courses, Build SaaS apps in Go and Build a Google Analytics in Go. Those links have a 50% discount coupon applied to them for listeners of the show.
Ep 33033: Deployment orchestrator in Go, part of my upcoming SaaS
My upcoming SaaS product at first wasn't suppose to be rolled out as a product, but was for my own usage. Turns out as I was using it and selling my online courses that it appears to me as being fairly usefull and could compete against existing course selling platform.The hic is that it wasn't built as a SaaS in mind, so I have to deploy one application per customer. It's completely multi-tenant. To help with automating the deployment of a new tenant, I wrote and orchestrator with agents to facilitate the deployment of a new application. I thought this part could be interesting to hear about as it's written in Go.Want to support the show? The best way is by purchasing my courses Build SaaS apps in Go and Build a Google Analytics in Go. Listeners of this show get a 50% discount on all store product.
Ep 32032: Go cryptography with John Arundel
In this episode I talk with John Arundel about cryptography in Go. John wrote a great book on the subject called Explore Go: Cryptography.Security is a growing concerns and you should up your game as a Go programmer. We're lucky to have such a solid crypt package in the standard library. I'd encourage you to get familiar with it if you haven't yet.Links:Explore Go: CryptographySubscribe to John's contentJohn on TwitterAs always, if you want to support this show the best way (other than talking about it) is by purchasing my courses: Build SaaS apps in Go and Build a Google Analytics in Go, here's a 50% direct discount for listeners of this podcast.
Ep 31031: Using shim on API to prevent breaking changes
In 2021 Twilio sent a termination email on their Fax services. I was consulting as the CTO in a credit bureau that was in the start of an acquisition process with Equifax Canada. There was just no time to "waste" on changing provider and rewriting this part of the system to satisfy the new provider API.Would have been grand if the provider would have offered a shim that replicated Twilio's API and map that to their own API. Imagine how many companies needed to rewrite this part at the same time. Offering this as the provider that receives X thousands new customers would have been a superb engineering experience.So maybe we can apply this concept internally as well. When a team needs to introduce breaking changes, a good solution might be for them to provide a shim over the old API so no other teams need to do anything.This is obviously a tad dangerous and might introduce some technical debt. But as everything, it depends.
Ep 30030: gRPC in Go with Chris Shepherd
I receive Chris Shepherd and we talk about gRPC in Go. If you're building systems with lots of micro-services, gRPC is a good way to provide strong contracts between your services and improve communications.Links:Chris on TwitterThe Buf CLIExample protobuf registryThe best way to support this show, other than talking about it, is by purchasing my online courses on Go: Build SaaS apps in Go and Build a Google Analytics in Go. Here's a direct link with a special discount for the pod listeners.
Ep 29029: I've a confession to make, I've wrote 2 apps in Django
This episode was supposed to be focussing on templ, the tempalte library, but as I was going in details I found it hard not to explain the back story of why I started looking for something to help html/template be more "fun" to build rapid side projects, you know, CRUD heavy web application.Links:templ: https://templ.guide/The lib I forgot the name during the episode: https://github.com/Masterminds/sprigIf you'd like to support this show the best way is to puchase my courses, I've one call Build SaaS apps in Go and another one called Build a Google Analytics in Go. Here's a direct discount for listener of this show.
Ep 28028: To TDD or not... or when
Quick solo episode on TDD and when I experienced it was used best and when I personally not use it but use an approach of writing a bit of code, than tests, thant another bit of code, etc.Buying my courses is the way to support this show, here's a direct discount for listeners.
Ep 27027: Debugging in Go with Matt Boyle
I chatted with Matt Boyle about debugging Go code. Matt is creating a course about this topic and discussing debugging as a tool you may add to your toolbelt.LinksThe Ultimate Guide to Debugging With GoDomain-Driven Design with GolangMatt on Twitter aka XGoland Insiders (Go Twitter community)As always, if you'd like to support this podcast the best way is to purchase my courses / talk about them. I have 2 courses on Go and here's a direct discount for podcast listeners.
Ep 26026: We can do better with interviews and onboarding
I believe we can do better regarding software engineer interviews and this entire process (also including onboarding). I think companies that will be mediocre at those two aspects will have a hard time with younger programmers, which I fully support.
Ep 25025: Iterators are coming to Go
Iterators are going to be useful to process large amount of data without having to load an entire slice or maps in memory but instead create iterators that can be used from a for item := range myIterators().If you'd like to support this show and/or are interested in Go courses I have, here's a direct discount link specially for listeners of this show.
Ep 24024: Do you understand this weird production behavior?
Something absurd happened in 2024 for one of my consulting client's production web application, and this code for a time. The time zero value is behaving differently than it has been since 2018. Date has a value: No date, zero valueI launched my new course Build a Google Analytics in Go, if you're interested and/or want to support this show that's how to do it.
Ep 23023: Reaction to reddit post on null pointer error in Go
I react to the post on the Go subreddit of last week talking about a null pointer error occuring in production for a Go program.This is the YouTube video I made.If you'd want to support this podcast, I have Go courses available for purchase here, I just launch my latest course Build a Google Analytics in Go with a 50% discount for listener of this show.
Ep 22022: What to answer to "Why Go?"
Typical reasons to use Go might sounds exciting for us used to Go, but might not be as attractive for people that haven't experienced Go yet and might not realize they have some small heritants that Go fixes/improves.I've pre-launched my new course call Build a Google Analytics in Go, as listener to this podcast you're getting a 50% off during pre-sale, the course is due to launch before the end of December.If you want to support this show, purchasing the course is the best way, also talking about it ;).
Ep 21021: Why I had to work 30h straight in 2002
Things were very different when I started as a junior developer. This is a story of an out of the ordinary day where worked from ~9h am to 11am (the next day), the two of us that were in charge of everything at a small financial company.This one has nothing to do with Go, but I thought it was worth telling as a story.I'm soon to launch (pre-launch) my next course Build a Google Analytics in Go. If you're interested make sure to sign-up for the newsletter on my store. https://store.dominicstpierre.com/
Ep 20020: Discipline is required to build long-live software
As we're building more and more of distributed systems I believe that one trait / culture successful team will require is discipline. Personal opinion, we tend to complicate our lives in the last decade compare to what things were before. But without an extra attention to some details, it will be a nightmare to maintain systems in the long run.As always, if you'd like to support the show the best way is to purchase my course. Sharing it also very much appreciated.
Ep 19019: Dependencies maintenance in Go
I talk about dependencies management in Go. How to keep your dependencies up-to-date and how to check if there's any updates available. What to do when a package change their major version.List all packages and latest versions:$ go list -m -u allUpdate all packages to their latest minor versions:$ go get -u ./...If you'd like to support this podcast consider buying a copy of my course Build SaaS apps in Go.
Ep 18018: WebAssembly runner, a real-world use case
I was toying with the idea of using WebAssembly runner as a plugin / extension mechanism from a Go (host) program to extend the capabilities of a program at runtime.* min/max bult-ins coming in 1.21: https://tip.golang.org/ref/spec#Min_and_max* wazero: https://github.com/tetratelabs/wazero* wasmr: https://github.com/wasmerio/wasmer-go* StaticBackend: https://github.com/staticbackendhq/core
Ep 17Help your OSS with GitHub CLI, Codespaces and linters
I'm trying to make my open source backend API project StaticBackend as easy as possible to contribute.Couple of things I've added lately was worth mentionning. GitHub Codespaces is helpful and nicely done. It goes 1-step further than Docker and make contributing to an open source project a simple task, especially for small and quick 1-time contribution.This couple with GitHub CLI, which I admit, have just starting using it. And linters to make sure the quality of the code is as high as it can be.StaticBackend website | GitHub repoIf you'd want to support this podcast, the best way is to talk about it, sponsor my open source project or purchase my course Build SaS apps in Go.
Ep 16016: What I'd hope WASM brought to web dev
I talk about what I'd love to see coming to web development. While WebAssembly can be used as an alternative to JavaScript, I believe we're not looking into the real problems related to building web application.
Ep 15015: How do you put things in production?
It has been a rough last 4 months for me and I finally get a chance to restart publishing episodes. In this episode I talk a bit about what I've seen so far as process / flow for deploing software in production. Going from the old days when I started as a junior software dev where we were pushing straight into prod to what I discovered at a big organization where putting something in production spread accross multiple days and involves a lot of people.I'd like to hear how things are working for you, what is your process from bug fix/new feature to production. I'm genuinely curious after the experience I had seeing how thins can be tedious for this process.
Ep 14014: We should contribute more to open source
This is the last episode of 2022. Those are my thoughts about how I think we should try to help more as user of open source project and librairies.This episode content was inspired by the Gorilla Web Tool Kit archiving their Go projects.On that note, I'll be back with more Go content on January, and will try to keep my 1 episode per two weeks plan for 2023.Thank you!
Ep 13013: Go's concurrency to the rescue
Go's worker queue pattern:type WorderPool struct { queue chan int}func (wp *WorkerPool) start() { for i := 0; i < 500; i++ { go funcIO { for id := range wp.queue { doSomething(id) } }() }}func (wp *WorkerPool) add(id int) { wp.queue <- id}Go 1.20 errors.Join / multiple unwrap errorMy course: Build SaaS apps in GoBest way to show support for the pod is by sharing it around and buying my course.
Ep 12012: Concurrency isn't Go main selling point
Let's talk about Go's concurrency. It's a powerful tool to have at your disposal but a hard one to master and use correctly.The tweet that inspired this episode, I thought it was a recent one though...Reach out on TwitterBuild SaaS apps in GoIf you want to support the pod the best way is to purchase my course (thanks).
Ep 11011: Options where to deploy your Go servers
At beginning I was deploying my Go servers to a DigitalOcean droplet. But for the last 3 years I'm enjoying Render, which listen to my git push and automatically deploy app for me in a blue-green deployment.If you enjoy my podcast have a look at the following:- Build SaaS apps in Go, my course on building web application in Go- StaticBackend, an open-source Go backend server API- @dominicstpierre on Twitter
Ep 10010: internal package gotchas
I recently created an exportable Go package from StaticBackend, an open source backend API which was self-hosted.I ended up using the internal package way to heavily and this design decision bite me when I decided to create an exportable package. Now all things that needed to be expose that was in the internal package had to be refactored into their own packages.Links:StaticBackend repoGo package
Ep 9009: Set variables at build time with -LDFLAGS
Usage of -ldflags:go build -ldflags "-X main.varName=from_build" -o mycliInside your code:var varName stringfunc main() { fmt.Println(varName) // prints "from_build"}Here's what I'm using for StaticBackend -v flag:go build -ldflags \ "-X github.com/staticbackendhq/core/config.BuildTime=$(shell date +'%Y-%m-%d.%H:%M:%S') \-X github.com/staticbackendhq/core/config.CommitHash=$(shell git log --pretty=format:'%h' -n 1) \-X github.com/staticbackendhq/core/config.Version=$(shell git describe --tags)" \-o staticbackendLinks:StaticBackend websiteStaticBackend GitHub repoBuild SaaS apps in Go (my online course and book)
Ep 8008: The day my Go service got csharpify
If you'd like to join the dev of StaticBackend a Firebase alternative I'm building in Go you're welcome, there's a discord if you'd want to chat. https://github.com/staticbackendhq/coreIf you'd like to checkout my course called Build SaaS apps in Go or want to support this show, that's the best way.If you're on Twitter make sure to follow me: https://twitter.com/dominicstpierre
Ep 7007: Is Go's database/sql verbosity that bad?
sqlx: https://github.com/jmoiron/sqlxsqlboiler: https://github.com/volatiletech/sqlboilerIf you're looking to learn how to build web API with Go, checkout my course on building SaaS in Go.
Ep 6006: Build softwares that stand the test of time
I've been maintaining 20 years old systems for a long time now. I've been working with legacy applications in .NET. To me Go has some great advantages built-in by design that should help in 10-15 years from now when the applications that are created today will be on maintenance mode.
Ep 5005: Spring arriving, so is Go 1.18 and Generics
What are you thinking about Generics? What about 3rd party libraries that will pop from everywhere once Go 1.18 launched?Personally, I'll appreciate what the std lib offers and will wait before writing generics code, making sure I really need it.I'm currently working on a free and open-source self-hosted Firebase alternative - if such things sound interesting, please join the Discord group and contribution are very welcome (it's written in Go of course).This is my course on Building SaaS apps in Go.
Ep 4004: Using interfaces for major refactor
If you'd like to check the code, the PR is still active.StaticBackend repo: https://github.com/staticbackendhq/coreMy course on Building SaaS in goShare episode topic idea with me on Twitter @dominicstpierre
Ep 3003: Pointers or !Pointers, stack, and heap
We go over what are pointers and when to use or not use them. For instance, this is probably not a good use for pointers.func main() { var i int = 10 abc(&i)}func abc(i *int) { *i = 15}In my opinion any dereferencing is probably bad. Better way:func main() { var i int = 10 i = abc(i)}func abc(i int) int { return 15}I also try to give some basics info regarding the stack and heap and why pointers might not be seen as an optimization.I have a course on building SaaS in Go.Follow me on Twitter.
Ep 2002: Project structure & package name
Don't stress too much about having the "proper" project structure to the point where you might over-engineer or be paralyzed by the thought of doing something wrong.It's just hard, and even 5+ years of Go experience will not ensure you're creating the optimal packages and structure. It's an art mixed with preferences that become a little easier with time but remain challenging.I wrote a getting started with Go guide that cover a little about project structure and how to get started with Go.If you're in writing web applications and maybe even SaaS, I have a course on creating API-first SaaS with Go.
Ep 1001: Error handling in Go
Wrapping error: fmt.Errorf("error trying to do X: %w", err)Package errors: https://pkg.go.dev/errorsExample of not using the happy path at 1st indentation:try { if (user.HasAccessTo(Admin) { if (somethingElse()) { // happy path } else {} } else {}}catch(Exception ex) { // what really happened, and where?}An example of happy path in idiomatic Go:ok, error := hasAccessTo(user, ADMIN)if err != nil || !ok { // handle not access}if !somethingElse() { // handle something else false}// Happy pathMy course on building SaaS apps in Go.