articles-api/root/i.go

16 lines
278 B
Go

package main
import (
"fmt"
e "git.xdrm.io/xdrm-brackets/gfw/err"
i "git.xdrm.io/xdrm-brackets/gfw/implement"
)
func Get(d i.Arguments, r *i.Response) i.Response {
fmt.Printf("GET /\n")
r.Set("api_version", 1.2)
r.Set("received_data", d)
r.Err = e.Success
return *r
}