add notes on go
This commit is contained in:
parent
09ce26cbde
commit
49ebcae5ea
21
go.md
Executable file
21
go.md
Executable 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)
|
||||||
|
> }
|
||||||
|
> ```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user