Posts · Page 9

8 min read

A Quick Guide to Protocol Buffers in Go

Protocol Buffers (protobuf) is a language- and platform-neutral, scalable and extensible way to serialize structured data — smaller and faster than JSON or XML. This tutorial covers Protocol Buffers 3 (proto3): installation, basic syntax and how to use it in Go.

6 min read

Building a Web Framework in Go - Gee Day 7 Panic Recover

A 7-day tutorial on implementing a Web framework from scratch in Go (7 days implement golang web framework from scratch tutorial). Build a Web framework from scratch with Go/golang, with Gin as the design prototype. This article explains how to add an error handling mechanism to the Web framework.

33 min read

A Gentle Introduction to Rust

Rust is a systems programming language balancing safety, speed and concurrency. This tutorial covers Rust and Cargo installation, basic types (strings, ints), control flow (if, if let, while let, loop, for), composite types (struct, enum), error handling (panic, Result), Cargo project layout and testing Rust code.

5 min read

Building a Web Framework in Go - Gee Day 6 HTML Template

A 7-day tutorial on implementing a Web framework from scratch in Go (7 days implement golang web framework from scratch tutorial). Build a Web framework from scratch with Go/golang, with Gin as the design prototype. This article explains how to add HTML template (HTML Template) rendering and static file (Serve Static Files) serving to the Web framework.

7 min read

Building a Web Framework in Go - Gee Day 5 Middleware

A 7-day tutorial on implementing a Web framework from scratch in Go (7 days implement golang web framework from scratch tutorial). Build a Web framework from scratch with Go/golang, with Gin as the design prototype. This article explains how to add middleware support (middlewares) to the Web framework.

4 min read

Building a Web Framework in Go - Gee Day 4 Group

A 7-day tutorial on implementing a Web framework from scratch in Go (7 days implement golang web framework from scratch tutorial). Build a Web framework from scratch with Go/golang, with Gin as the design prototype. This article explains the significance of group control (Group Control) and the implementation of nested route groups.