Skip to content
unisqu edited this page Jun 13, 2018 · 19 revisions

1.Make a temporary folder for this demo

 $ mkdir temp

2.Download library

 $ go get -u -t github.com/tinylib/msgp

3.Open editor and copy/paste and save the code below:

 package main

 import (
     "fmt"
 )

 //go:generate msgp

 type QryD struct {
         A int8 
         D int8 
         T string 
         K string 
         V string 
 }

 func main() {
     fmt.Println("Nothing to see here yet!")
 }
Clone this wiki locally