<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Golang on Faiq Najib</title>
		<link>https://najib.id/en/tags/golang/</link>
		<description>Recent content in Golang on Faiq Najib</description>
		<generator>Hugo</generator>
		<language>en-US</language>
		
		
		
			<copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright>
		
		
			<lastBuildDate>Wed, 11 Nov 2026 23:31:00 +0700</lastBuildDate>
		
			<atom:link href="https://najib.id/en/tags/golang/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Real-Time GPS Pipeline Reliability: Retries, Backpressure, and Observability</title>
				<link>https://najib.id/en/writing/2026/realtime-pipeline-reliability/</link>
				<pubDate>Sat, 24 Oct 2026 00:00:00 +0000</pubDate>
				<guid>https://najib.id/en/writing/2026/realtime-pipeline-reliability/</guid>
				<description>&lt;p&gt;A GPS system can look healthy because the server accepts connections and some location points appear on a map. Yet a stalled stage in the pipeline can make the displayed position stale: the listener still receives bytes, workers fall behind, a queue grows, or database writes repeatedly fail.&lt;/p&gt;&#xA;&lt;p&gt;Reliability is therefore more than keeping a process alive. We need to know what data has been received, what is still being processed, what failed, and which actions are safe when a component is unavailable.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Decoding Packets: GT06 &amp; Teltonika Protocols</title>
				<link>https://najib.id/en/writing/2026/decode-packet-gt06-teltonika/</link>
				<pubDate>Wed, 14 Oct 2026 00:00:00 +0000</pubDate>
				<guid>https://najib.id/en/writing/2026/decode-packet-gt06-teltonika/</guid>
				<description>&lt;p&gt;In &lt;a href=&#34;https://najib.id/en/writing/2026/tcp-listener-gps-go/&#34;&gt;Part 2&lt;/a&gt;, we built a listener that assembles incoming TCP streams into complete frames. Now it&amp;rsquo;s time to read what&amp;rsquo;s inside. Bytes like &lt;code&gt;0x78 0x78 0x0D 0x01 ...&lt;/code&gt; need to become useful information, such as &lt;code&gt;IMEI 123456789012345, position -7.2575, 112.7521, heading 180°&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;While writing this article, I was convinced that the GT06 datasheet&amp;rsquo;s login packet example was &lt;code&gt;... 6C 00 01 8C ...&lt;/code&gt; and that its CRC could use standard CRC-CCITT. &lt;strong&gt;Both were wrong&lt;/strong&gt;, hahaha. I only realized it when my own code rejected the datasheet&amp;rsquo;s example. Lesson: with binary protocols, trust test vectors over your memory.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Building a TCP Listener for GPS Devices in Go</title>
				<link>https://najib.id/en/writing/2026/tcp-listener-gps-go/</link>
				<pubDate>Tue, 22 Sep 2026 00:00:00 +0000</pubDate>
				<guid>https://najib.id/en/writing/2026/tcp-listener-gps-go/</guid>
				<description>&lt;p&gt;Imagine 500 GPS trackers connected to your server at once. Each sends location data every 10-30 seconds, while some send only a heartbeat when idle. Connections can stay open for hours, drop without notice, or deliver data in fragments. Ehem, busy place.&lt;/p&gt;&#xA;&lt;p&gt;If you are used to HTTP APIs, remember that TCP itself has no request-response structure. The listener just receives a stream of bytes, and your application has to make sense of it.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Resources</title>
				<link>https://najib.id/en/resources/</link>
				<pubDate>Mon, 01 Jan 2024 00:00:00 +0700</pubDate>
				<guid>https://najib.id/en/resources/</guid>
				<description>&lt;p&gt;This page collects &lt;strong&gt;tools, templates, and free resources&lt;/strong&gt; that I built or recommend for backend developers, independent builders, and educators.&lt;/p&gt;&#xA;&lt;h2 id=&#34;open-source-tools&#34;&gt;Open Source Tools &lt;a href=&#34;#open-source-tools&#34; class=&#34;tdln dimmer&#34;&gt;&lt;small&gt;#&lt;/small&gt;&lt;/a&gt;&lt;/h2&gt;&lt;h3 id=&#34;go-starter-go-project-scaffolder&#34;&gt;go-starter (Go Project Scaffolder) &lt;a href=&#34;#go-starter-go-project-scaffolder&#34; class=&#34;tdln dimmer&#34;&gt;&lt;small&gt;#&lt;/small&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;CLI tool to scaffold Go projects with a Clean Architecture structure ready for production. Reduces boilerplate and speeds up project initialization.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Repository:&lt;/strong&gt; &lt;a href=&#34;https://github.com/fanajib5/go-starter&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;github.com/fanajib5/go-starter&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Features:&lt;/strong&gt; Clean Architecture, Gin/Echo/Fiber options, Docker-ready, CI/CD config&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Best for:&lt;/strong&gt; Backend developers who want to start Go projects with the right structure&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;retro-jib-hugo-theme-developer-blog-theme-fork&#34;&gt;retro-jib-hugo-theme (Developer Blog Theme Fork) &lt;a href=&#34;#retro-jib-hugo-theme-developer-blog-theme-fork&#34; class=&#34;tdln dimmer&#34;&gt;&lt;small&gt;#&lt;/small&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Hugo theme for developer blogs, forked from &lt;code&gt;retro-jib&lt;/code&gt;. Supports bilingual (ID/EN), SEO-friendly, and lightweight.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
