Alvin Lin/
Golang Basics
Search
Golang Basics

Golang Basics

Tags
Golang
Created
Apr 29, 2023 11:20 PM
Edited
Apr 29, 2023
Description
Some basic Golang concepts and usage. Some of the articles might be basics but something I used during work.
Golang EcosystemHow to Structure Golang ProjectGolang Comment, Naming, Conventionvariables, constants, and common typesHow to convert types in GolangCompile time type assertions... in GolangHow to print variablesFunction, closure, methodControl Flow in GolangError Handling in GolangInterface and StructWhat is defer in Golang?Goroutine/ChannelsContextFatal vs PanicGo Code Review CommentsEmbedding (Inheritance)Go toolFunctional programming in GolangTest

HTTP

HTTP Server using GolangRe-use HTTP connection (Keep-alive)

Build-in library usage

How to separate strings in Golang - strings.FieldsStringers

Frameworks

cobrafxgorm
viper
 
Table of Contents
HTTPBuild-in library usageFrameworks
Copyright 2021 Alvin Lin