This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
Today, I’m writing a technical post about API documentation in Go. I hope you find it useful! First, we’ll create a simple CRUD API using Go and the Gin framework. Let’s get started! package main import ( 'net/http' 'strconv' 'github.com/gin-gonic/gin' ) type User struct { ID int `json:'id'` Name string `json:'name'` } var users = [] User { { ID : 1 , Name : 'John' }, { ID : 2 , Name : 'Doe' }, }…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.