add notes on go

This commit is contained in:
Akbar Rahman 2021-07-27 21:09:06 +01:00
parent 09ce26cbde
commit 49ebcae5ea
Signed by: alvierahman90
GPG Key ID: 20609519444A1269

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)
> }
> ```