Profile cover photo
Profile photo
Christoph Berger
Simplicity is the ultimate sophistication.
Simplicity is the ultimate sophistication.
About
Posts

Post has attachment
Go for AWS Lambda was quite a hot topic recently. I collected last week's blog posts and package announcements and packed them in to this article to give you a convenient starting point: https://appliedgo.net/awslambda
Photo

Post has attachment
A new Quick Bits episode is out. This time, we look at inheritance in Go - or rather, the lack of. Go newcomers often try to achieve inheritance via struct embedding, but this is not sufficient. This episode explains why, and what other ingredient is required to make a derived type impersonate a base type.

Post has attachment
Want to see how to create a PDF document with a few lines of code? I made a lecture on this for my upcoming free course about workplace automation, and I have published shortened versions of it at my blog (https://appliedgo.net/pdf) and on the Applied Go youtube channel (https://youtube.com/c/AppliedGo).

Post has attachment
I made a new Applied Go Quick Bits episode: Pointers vs References. This is especially interesting for newcomers who are used to dynamic languages without direct exposure to pointers.
TL;DR: Pointers in Go are similar to references but are less "automatic" in exchange for more control.

https://youtu.be/A6G7qxnFUS0

Post has attachment
Processing spreadsheet data in Go

This is a beginner-level post on reading, processing, and writing CSV data. I plan a workplace automation course with more content like this one. I figure this could help beginners to practice what they learned, as well as absolute newcomers to get first impressions of Go in a practical context.

Post has attachment
Hi,

I am excited to announce my online video course on Go programming to the public. If you are a developer who wants to learn the Go programming language, check out this course; I am sure you will love it.

For a limited time, the course is available at a discount. The course page lists 18% off, but for you I have a special offer: Use the coupon code GETMASTERGO and get 30% off - valid until Nov. 30th.

https://appliedgo.com/p/mastergo/?product_id=274212&coupon_code=GETMASTERGO

Post has attachment
Every science fiction movie needs them (ok, at least those featuring spaceships) - fancy dashboards across all walls, with lots of gauges, graphs and blinking lights!

Grafana is their equivalent for the IT world. I wrote a Go package that makes it dead easy to collect time series data (read: values with time stamps attached) and feed it to a Grafana dashboard.

Here is the article: https://appliedgo.net/diydashboard/

Post has attachment
Every now and then I type "man somecmd" only to find that somecmd has no man page. This is usually true for Go binaries, especially if installed through go get. So I wrote a tool called goman that displays the README file of the binary's projects as an "alternate man page".

The tool relies heavily on third-party libraries and code, so my kudos goes to those who did all the heavy lifting. (See goman's README.md for details.)

The image links to a blog article that contains a brief rundown on how `goman` achieves to find and render the readme. The tool itself is available via "go get https://github.com/christophberger/goman".

Post has attachment
I fiddled with a Digispark board and got it to move a servo using Go and Gobot.

Post has attachment
In search of a Text-based User Interface (TUI) library for Go, I did not find a single best one, but instead a collection of interesting specialists (data viz dashboard, input/output, terminal games, low-level,...)
Enjoy!
Commenting is disabled for this post.
Wait while more posts are being loaded