add notes on go

This commit is contained in:
Akbar Rahman 2021-07-27 21:09:06 +01:00
parent 5deb7a4d0e
commit 43ae2da10a

21
go.md Executable file
View File

@ -0,0 +1,21 @@
---
author: Alvie Rahman
date: \today
title: Go (golang)
---
# Getting Up to Speed With Go
Probably the most useful resoure I found was the [Tour of Go](https://tour.golang.org/).
It's easy to understand and teaches you all you need to know.
# Making a web api
> We need to memorize the `Handler` interface.
> ```go
> type Handler interface {
> ServerHTTP(ResponseWriter, *Request)
> }
> ```