Download the App!
show episodes
 
Loading …
show series
 
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 - website Encore on GitHub André on Twitter H…
  continue reading
 
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 repo Ardan Labs Encore GitHub repo Ardan Labs Service G…
  continue reading
 
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 appli…
  continue reading
 
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…
  continue reading
 
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 h…
  continue reading
 
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 Twitter The Buf CLI Example protobuf registry The best way to support this show, other than talking about it, is by purchasing…
  continue reading
 
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 n…
  continue reading
 
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. Links The Ultimate Guide to Debugging With Go Domain-Driven Design with Golang Matt on Twitter aka X Goland Insiders (Go Twitter community) As always, if you'd like to support this podcast th…
  continue reading
 
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 s…
  continue reading
 
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'r…
  continue reading
 
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 thi…
  continue reading
 
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…
  continue reading
 
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-launc…
  continue reading
 
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 …
  continue reading
 
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 all Update all packages to their latest minor versions: $ go get -u ./... If you'd like to support this p…
  continue reading
 
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 * StaticBa…
  continue reading
 
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 contrib…
  continue reading
 
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 org…
  continue reading
 
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 pla…
  continue reading
 
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 Twitter Build SaaS apps in Go If you want to support the pod the best way is to purchase my course (thanks).…
  continue reading
 
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…
  continue reading
 
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 the…
  continue reading
 
Usage of -ldflags: go build -ldflags "-X main.varName=from_build" -o mycli Inside your code: var varName string func 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/stati…
  continue reading
 
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/core If 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: htt…
  continue reading
 
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 soun…
  continue reading
 
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…
  continue reading
 
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 wi…
  continue reading
 
Wrapping error: fmt.Errorf("error trying to do X: %w", err) Package errors: https://pkg.go.dev/errors Example 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…
  continue reading
 
This week DW sits down with comic book artist and good friend, Joe St.Pierre. You may have heard on pods past but like you DW learned a few new things during this chat. Enjoy! This weeks episode is brought to you by www.JaysWicked.com Listen on how you can receive 10% off your entire order of Jay’s amazing sauces and more! Episode music provided by…
  continue reading
 
This week DW sits down with actor, comedian, producer and director, Chad Ridgely. Chad Skypes in from LA before one one of his standup gigs. They chat how Chad went from police officer to comedian, actor and director/producer. They recap how they met and their love for sandwiches....oh those sandwiches. Apologize for some audio hiccups. The wonders…
  continue reading
 
On this very first episode of The RANT With DW, DW is back on the mic in the new Earplug Podcast Studio and is joined by long time friend and musician James Hood. They talk about James growing up in NJ , his love of Kevin Smith, and tries to turn the table on DW and start interviewing him. Enjoy. This weeks episode is brought to you by www.JaysWick…
  continue reading
 
Loading …

Quick Reference Guide