From 3953b55ce66bdbcbb1e4b8e694851f4a682a9b56 Mon Sep 17 00:00:00 2001 From: Alvie Rahman Date: Wed, 1 Sep 2021 16:42:01 +0100 Subject: [PATCH] Remove Making a web api --- go.md | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/go.md b/go.md index 1245683..c719395 100755 --- a/go.md +++ b/go.md @@ -10,22 +10,13 @@ tags: [ golang, programming ] 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. -> -> type Handler interface { -> ServerHTTP(ResponseWriter, *Request) -> } - - # `godoc` [^golang-godoc] > Godoc parses Go source code - including comments - and produces documentation as HTML or plain > text. > The end result is documentation tightly coupled with the code it documents. -> For example, through godoc's web interface [which is at by default] you can -> navigate from a function's documentation to its implementation with one click. +> For example, through godoc's web interface [which is at by default] you +> can navigate from a function's documentation to its implementation with one click. ## Installing godoc // `command not found: godoc`