From 49ebcae5ea0762bfbf430def9ae881a84caeb0ea Mon Sep 17 00:00:00 2001 From: Alvie Rahman Date: Tue, 27 Jul 2021 21:09:06 +0100 Subject: [PATCH] add notes on go --- go.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 go.md diff --git a/go.md b/go.md new file mode 100755 index 0000000..6dbf8a5 --- /dev/null +++ b/go.md @@ -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) +> } +> ``` + +