22 lines
402 B
Markdown
22 lines
402 B
Markdown
|
---
|
||
|
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)
|
||
|
> }
|
||
|
> ```
|
||
|
|
||
|
|