go podcast()

Follow go podcast()
Share on
Copy link to clipboard

15 minutes news, tips, and tricks on the Go programming language.

Dominic St-Pierre


    • Jun 3, 2025 LATEST EPISODE
    • monthly NEW EPISODES
    • 38m AVG DURATION
    • 58 EPISODES


    Search for episodes from go podcast() with a specific topic:

    Latest episodes from go podcast()

    058: Starting in Go with Yann Bizeul

    Play Episode Listen Later Jun 3, 2025 66:12


    Go is used by multiple programmers and software engineers. Lots of path can lead to want to try Go, and this week I talk with Yann whom eventually found Go and talks about his experiences writing internal tools at his company.Links:HuploadYBFeed

    057: I unite with another technical professional, and we talk about being blind in tech (part 2)

    Play Episode Listen Later Apr 15, 2025 87:02


    The part 2 of my talk with Ivan Fetch. We cover the remaining listener questions and go over some aspects in more details of being blind in tech.

    056: I unite with another technical professional, and we talk about being blind in tech

    Play Episode Listen Later Apr 1, 2025 74:04 Transcription Available


    This week I'm joined by Ivan Fetch. We talk about challenges and day-to-day life as tech professionals being blind, using a screen reader. This is the part one as we've a lot to cover. Since I started this pod after telling guests I'm blind and use a screen reader everyone wants to know more, so I thought doing an episode would be interesting to people wanting to know more.The best way to support the show is by talking about it and sharing the episodes. If you can you can buy my courses which help keeping the lights on for the efforts invested to bring the pod, there's a 50% off discount for listeners of this show: Build a SaaS app in Go and Build a Google Analytics in Go.

    055: Zog, a Go validation pkg with Tristan Mayo

    Play Episode Listen Later Mar 18, 2025 86:16


    This week I'm joined by Tristan Mayo, the creator of Zog, a Go library that helps with validation when receiving data from an HTTP POST or parsing data. Links:Zog on GitHub

    054: Datastar with Delaney Gillilan

    Play Episode Listen Later Mar 11, 2025 56:33 Transcription Available


    This week I talk with Delaney Gillilan, the creator of Datastar, a framework that helps building web applications with the reactivity of a single page app but with the programming model of a good old server-rendered page from the backend. Datastar combines the power of HTMX and Alpine.js in a simple and lightweight way.Links:Datastar websiteThe best way to support the show at this time is by talking about the pod and if you can, purchase my courses, which are at 50% discount for listeners of the show: Build SaaS apps in Go and Build a Google Analytics in Go.

    053: My exp w/ Gomponent in prod with Markus Wustenberg

    Play Episode Listen Later Mar 4, 2025 59:57


    Markus is back to talk about Gomponent. I've used the library in production and wanted to tell the story of my experience converting my html/template to Gomponent and get his thoughts and reactions. This is more of a real-world episode than anything else, a real story of real usage of Gomponent.Links:GomponentAs always the best way to help is by sharing and talking about the show. If you can you may contribute by purchasing my courses, this helps with all the efforts and costs of running a podcast, courses are at 50% off: Build SaaS apps in Go and Build a Google Analytics in Go.

    052: Gost, a Go headless browser with Peter Strøiman

    Play Episode Listen Later Feb 25, 2025 55:37 Transcription Available


    This week I'm joined by Peter Strøiman, the author of Gost, a Go headless browser that can be pretty useful when doing TDD and even (especially) if you're using HTMX. We talk about the challenges and the "why" Peter wanted to build this project, where it can be helpful and we dive into the internals a bit.Links:Gost on GitHubPeter's websiteAs always I'd appreciate if you can talk about the pod and if you can and want to support to cover cost the best way is to purchase my courses which are 50% off for listeners of the show: Build SaaS apps in Go and Build a Google Analytics in Go.

    051: Event sourcing with Morgan Hallgren

    Play Episode Listen Later Feb 18, 2025 57:03


    This week I'm joined by Morgan Hallgren and we talk about Event Sourcing. Morgan created an open source library that helps with the parts involved when doing event sourcing.Links:eventsourcing library (GitHub)As always the best way to support the show is by talking about it. If you'd want to chip in as it's time consuming and costly to host a podcast, the best way is to purchase my courses which listeners get 50% off: Build SaaS apps in Go and Build a Google Analytics in Go.

    050: Security, devops, testing in Go with Jakub Jarosz

    Play Episode Listen Later Feb 11, 2025 63:25 Transcription Available


    This week I'm joined by Jakub Jarosz and we talk about security, devops, testing a lot of topics that are fun and comfortable doing in Go.Links:Jakub on BlueskyJakub's websiteAs always I'd appreciate any mention about the podcast and reach out if you'd like to join as a guest. If you'd want to support the show you can purchase my courses at 50% off Build SaaS apps in Go and Build a Google Analytics in Go.

    049: I hate e2e tests, but I love unit tests

    Play Episode Listen Later Feb 3, 2025 34:26


    go podcast() is back. After debating about canceling or continuing the pod, I've took 2 months and decided to resume publishing episode. I'm looking at a formula for the 4th year of the podcast. I'll still do interviews with Gophers as much as I can. But to fill the gap, I'd like to have something special, maybe more story based that would allow me to publish regularely, like each week.In this episode I talk mostly about how innevitably my integrations and e2e tests sucks and are borderline untrustable after sometimes.If you'd like to record an episode as a guest reach out, these days I'm on BlueSky as @dominicstpierre.comAs always you can support the show by talking about it, sharing the links. You may also purchase my courses at 50% off: Build SaaS apps in Go and Build a Google Analytics in Go

    048: Lea Anthony on Wails

    Play Episode Listen Later Nov 27, 2024 65:51 Transcription Available


    I'm receiving Lea, creator of the Wails project. Allowing Gophers to build desktop application using web tech for the frontend.Links:Wails.ioWant to support me with the show, talk about it and rate it where you're listening. Also you can purchase my courses at 50% off for listeners of the show: Build SaaS apps in Go and Build a Google Analytics in Go.

    047: Fyne toolkit with Andy Williams

    Play Episode Listen Later Nov 6, 2024 68:43 Transcription Available


    This week I talk with Andy Williams about the Fyne toolkit. It's impressive how much you can do with Fyne targeting mostly all platform where you'd want your application to run. In a world where web is getting a little bit out of hand, it's refreshing to see that desktop still have its place in the software world.Links:Fyne websiteJoin us on #gopodcast in the Gophers Slack. Any mention of this podcast would be extremely appreciated. To support the effort of running the pod you can purchase my courses at 50% off for listeners: Build SaaS apps in Go and Build a Google Analytics in Go.

    046: Let's talk about Rust with John Arundel

    Play Episode Listen Later Oct 29, 2024 67:23 Transcription Available


    John is proposing learning Rust to enhance Gophers programming knowledge. I do enjoy learning new thing personally, Rust always has been or at least seems to required an extra effort to get started with. John is trying to make it more approachable.Links:John's websiteThe secrets of Rust, ToolsJohn on TwitterIf you enjoy the show the best way to support it is by sharing and talking about it to your circle and if you can by purchasing my courses (50% off for listeners of this show). Build SaaS apps in Go and Build a Google Analytics in Go.

    045: Gomponent with Markus Wustenberg

    Play Episode Listen Later Oct 15, 2024 68:48 Transcription Available


    This week I'm joined by Markus Wustenberg, the author of Gomponent, a library that lets you write your HTML directly in Go using a component approach with type safety.Links:Gomponent main websiteMarkus's blogMarkus's Go courseThere's a channel in the Gophers slack community, join #gopodcast.If you'd want to support the show consider purchasing my Go courses, which are 50% off for listeners of this show. Build SaaS apps in Go and Build a Google Analytics in Go.

    Toying with static analysis of HTML templates

    Play Episode Listen Later Sep 30, 2024 36:23 Transcription Available


    After last episode with Templ maintainers I was really pumped to try Templ and see if it would work for me. Without spoiling too much I believe it would have been easier to start from scratch with Templ vs. trying to migrate an existing project.This led me to try and see if I could add static analysis of my templates in my library tpl. I don't really have a PoC yet, but kind of getting close to it. If everything continue I should be able to capture errors in using of wrong field in template, like typos in field name that are caught at runtime at this moment.Links: https://github.com/dstpierre/tplAlso if you want to support this show, this is a 50% discount on my courses: Build SaaS apps in Go and Build a Google Analytics in Go.

    Adrian Hesketh and Joe Davidson on Templ

    Play Episode Listen Later Sep 10, 2024 68:36 Transcription Available


    In this episode Adrian Hesketh and Joe Davidson from Templ joins me and we talk about the what, why, and how of Templ. If you haven't checked it out, Templ helps creating strongly typed html template and use a component based approach to building web interface in Go.Links:Templ GitHub repoThe documentationGo ship itQuicktemplateAs always if you want to support the time I invest into this podcast the best way is by purchasing my courses which are at 50% off for listener of this pod: Build SaaS apps in Go and Build a Google Analytics in Go.

    042: Gate keeping and teaching of programming with Ramesh Sringeri

    Play Episode Listen Later Jul 3, 2024 51:31


    Ramesh joins me this week to talk about his experiences teaching programming in Girls who code club and gate keeping that can discourage some people from choosing computer science as their career path.Links:Confluence podcast with RameshScott Hanselman's blog Profanity doesn't workRamesh's blogHanselminutes podcastChangeLogI'd appreciate any mention you can share about the pod. If you'd like to support the effort, the best way if to purchase my courses, listeners of the show get 50% off Build SaaS apps in Go and Build a Google Analytics in Go.

    041: Speaking at conferences with Matt Boyle

    Play Episode Listen Later Jun 25, 2024 61:32 Transcription Available


    Getting out there, showing what you're currently doing / learning, starting a blog, creating content to help other software engineers, those are all good way to distinguish yourself. You might want to consider speaking at conferences as well. In this episode we're talking with Matt Boyle about the what, why, how of getting your first conference talk accepted.Links:@GopherCon on TwitterSessionizedMatt's blog post on what should you buildWriting a successful GopherCon proposalByteSizeGo Matt's courses and booksAs always I'd appreciate if you can talk about the pod, share a link, add a review. If you want to support the efforts the best way is to purchase my courses: Build SaaS apps in Go and Build a Google Analytics in Go.

    040: CLI in Go and other tech talks with Marian Montagnino

    Play Episode Listen Later Jun 18, 2024 60:29 Transcription Available


    I'm joined by Marian Montagnino this week. We talk about CLI in Go, programming languages. Java and Elm mentioned, be warned .;) and other tech related stuff. Marian wrote a book on building CLI in Go and presented multiple talks at Go conferences.We had some connectivity glitches during our call making it challenging. You won't here the internet cuts as we did, but the lag is real, sorry about that.Links:Building Modern CLI Applications in GoMarian on TwitterAs always I'd highly appreciate any mention of the pod and if you want to support the show the best way is to grab my courses at 50% off for listeners of the show: Build SaaS apps in Go and Build a Google Analytics in Go

    039: Go is now more fun to build web apps

    Play Episode Listen Later Jun 5, 2024 34:46 Transcription Available


    I started a monolith-style web application couple of weeks ago and force to admit that Go is more and more fun to use where I was considering more like Django or Rails before.For me there was still the templates aspect that needed to be fixed, and I wrote a library for that. The other major place where I was not enjoying myself was the database code, found it way to repetitive for application that had a lot of SQL tables.We're in a very good place at the moment and the benefits of having a compiled language to build heavy backend web application is great.Links:dstpierre/tpl - a simple library to help with templates structuring, parsing, and renderingsqlc - I finally surrender, and I like itAs always if you want to support the show you may purchase my courses Build SaaS apps in Go and Build a Google Analytics in Go.

    038: Finally, found a good use case for Go's plugin

    Play Episode Listen Later May 21, 2024 30:41 Transcription Available


    I've restarted active development on my open source Go backend server API StaticBackend. For a long time I wanted to make its CLI size smaller, and I decided to use Go's plugin package to extract a functionality that used a dependency that was accounting for more than 50% of its 170 MB. Go plugin were the solution I decided to use for this and I explain the problem and the solution in this episode.Links:StaticBackend on GitHubgo-size-analyzerAs always it's appreciated if you can talk about the pod and share. You may also purchase my course(s) if you want to contribute with money, there's a 50% off coupon with those links: Build SaaS apps in Go and Build a Google Analytics in Go.As always 

    037: Is Go a good choice for your Startup?

    Play Episode Listen Later May 9, 2024 32:30 Transcription Available


    I've been building SaaS since 2008 and built two with Go. Big spoiler, the technology you choose has a little impact in the early stage of a software business. There's some danger to over-engineer and use complex construct while you still does not even know if what you're building is desirable. Heck, you don't even know what you're building at first.I'm giving some example of common traps and pitfails technical founder tend to fail into when jumping into a startup venture for first times. And yes, times is plural, because it takes multiple attempt before learning lessons.If you enjoy the pod please consider sharing / talking about it. You may also contribute by purchasing my courses Build SaaS apps in Go and Build a Google Analytics in Go courses, they're at 50% off for listeners of the show.

    036: Game UI in Go with EbitenUI maintainer Mark Carpenter

    Play Episode Listen Later May 2, 2024 65:05 Transcription Available


    I'm joined by Mark Carpenter, the maintainer of EbitenUI, a UI library you may use with your Ebitengine Go game. Game dev is slowly making its way to Go with game library like Ebitengine and Raylib. The nice thing about Ebitengine is that it's built in Go, have great cadance in its development and is simple to use.EbitenUI is a UI library that allows you to build UI for your games. It's a simple library that integrates smoothly with the programming model of Ebitengine games.Links:EbitenUI on GitHubEbitenUI documentationEbitenUI on RedditEbitenUI on DiscordAwesome EbitengineAs always if you want to support my efforts with this show please talk about it, share it. You may also purchase my online courses Build SaaS apps in Go and Build a Google Analytics in Go, there's a 50% discount for listeners of this show.

    035: Going deeper into Encore with its founder André Eriksson

    Play Episode Listen Later Apr 16, 2024 71:27 Transcription Available


    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.

    034: Encore, domain design in Go with Bill Kennedy

    Play Episode Listen Later Apr 10, 2024 72:07 Transcription Available


    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.

    033: Deployment orchestrator in Go, part of my upcoming SaaS

    Play Episode Listen Later Apr 2, 2024 36:52 Transcription Available


    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.

    032: Go cryptography with John Arundel

    Play Episode Listen Later Mar 19, 2024 55:26 Transcription Available


    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.

    031: Using shim on API to prevent breaking changes

    Play Episode Listen Later Mar 14, 2024 17:08 Transcription Available


    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.

    030: gRPC in Go with Chris Shepherd

    Play Episode Listen Later Mar 7, 2024 46:58 Transcription Available


    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.

    029: I've a confession to make, I've wrote 2 apps in Django

    Play Episode Listen Later Feb 28, 2024 31:43 Transcription Available


    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.

    028: To TDD or not... or when

    Play Episode Listen Later Feb 16, 2024 19:35


    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.

    027: Debugging in Go with Matt Boyle

    Play Episode Listen Later Feb 5, 2024 39:01


    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.

    026: We can do better with interviews and onboarding

    Play Episode Listen Later Jan 25, 2024 20:41


    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.

    025: Iterators are coming to Go

    Play Episode Listen Later Jan 17, 2024 17:10


    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.

    024: Do you understand this weird production behavior?

    Play Episode Listen Later Jan 10, 2024 18:49


    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.{{if .TimeField}}    Date has a value: {{ .TimeField }}{{else}}    No date, zero value{{end}}I 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.

    023: Reaction to reddit post on null pointer error in Go

    Play Episode Listen Later Jan 3, 2024 19:05


    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.

    022: What to answer to "Why Go?"

    Play Episode Listen Later Dec 19, 2023 24:53


    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 ;).

    021: Why I had to work 30h straight in 2002

    Play Episode Listen Later Dec 6, 2023 20:23


    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/

    020: Discipline is required to build long-live software

    Play Episode Listen Later Nov 23, 2023 16:04


    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.

    019: Dependencies maintenance in Go

    Play Episode Listen Later Jul 14, 2023 13:54


    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.

    018: WebAssembly runner, a real-world use case

    Play Episode Listen Later Jun 30, 2023 22:11


    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

    Help your OSS with GitHub CLI, Codespaces and linters

    Play Episode Listen Later May 29, 2023 17:39


    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.

    016: What I'd hope WASM brought to web dev

    Play Episode Listen Later May 8, 2023 22:45


    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.

    015: How do you put things in production?

    Play Episode Listen Later Mar 27, 2023 23:50


    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.

    014: We should contribute more to open source

    Play Episode Listen Later Dec 23, 2022 18:11


    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!

    013: Go's concurrency to the rescue

    Play Episode Listen Later Nov 30, 2022 14:54


    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

    012: Concurrency isn't Go main selling point

    Play Episode Listen Later Nov 16, 2022 15:25


    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).

    011: Options where to deploy your Go servers

    Play Episode Listen Later Oct 28, 2022 27:22


    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

    010: internal package gotchas

    Play Episode Listen Later Sep 27, 2022 14:34


    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

    009: Set variables at build time with -LDFLAGS

    Play Episode Listen Later Aug 10, 2022 15:27


    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)

    008: The day my Go service got csharpify

    Play Episode Listen Later Jul 19, 2022 19:08


    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

    Claim go podcast()

    In order to claim this podcast we'll send an email to with a verification link. Simply click the link and you will be able to edit tags, request a refresh, and other features to take control of your podcast page!

    Claim Cancel