SaturdayMP Show 89: PostCast (Part 10 – Integration Tests and Keyring Saving)

Omar is back! We really got into the zone and recorded our longest PostCast video yet. Might be the longest SaturdayMP Show video yet. We don’t edit out mistakes, so watch along as we learn in real time:

  • how to write integration tests in Go (build tags vs. -short flag)

  • how to create test setup/teardown in Go

  • that the go-keyring library has mocking built in so we can simplify our tests

    [Read More]

SaturdayMP Show 87: Creating PostCast (Part 9 – Figuring Out Testing in Go)

In this episode Omar and myself figure out how to add tests in Go. We try the built-in Go testing framework but then settle on using Testify. Testify allows writing assertions like other testing frameworks we are used to. We also experiment with different ways to do mocking Go and try to figure out what the Go error object is.

*PostCast is just a place holder name and might change. The goofy PostCast placeholder image was generated by ChatGPT and will likely change.

[Read More]

SaturdayMP Show 86: Creating PostCast (Part 8 – Investigate Keyring Libraries)

In this episode Omar Ashour and myself (Chris C.) investigate several Golang keyring libraries and try to get the keyring to work on my Windows Subsystem for Linux (WSL). Spoiler: it was working all along, I was just too dumb to notice. Learned about Seahorse, a handy tool for viewing keychain entries.

We also discuses what the Windows Registry. Spoiler: it is just a big dumping ground of key-value pairs.

[Read More]

SaturdayMP Show 85: Creating PostCast (Part 7 – Prompt for LinkedIn Credentials)

In this episode Omar and myself hook up the Post to LinkedIn button and prompt the user to enter the credentials for LinkedIn, and it all works. Not the best flow, but we are still in the proof of concept stage.

We also learn about Go structs and how you can attach methods to them so get something similar to an object in other languages.

*PostCast is just a place holder name and might change. The goofy PostCast placeholder image was generated by ChatGPT and will likely change.

[Read More]

SaturdayMP Show 84: Creating PostCast (Part 6 – Create Fyne Main Screen)

In episode 84 of the SaturdayMP show, Omar Ashour and myself (Chris C.) create a very basic main screen using Fyne to input the text to post and a button to create the LinkedIn post. That said, the GUI doesn’t do anything yet, except look nice-ish. Lots of reading the Fyne documentation and experimenting with Fyne.

*PostCast is just a place holder name and might change. The goofy PostCast placeholder image was generated by ChatGPT and will likely change.

[Read More]