notes/go.md

22 lines
402 B
Markdown
Raw Normal View History

2021-07-27 20:09:06 +00:00
---
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)
> }
> ```