articles-api/root/i.go

16 lines
260 B
Go
Raw Normal View History

package main
import (
"fmt"
2018-07-05 17:19:39 +00:00
e "git.xdrm.io/go/aicra/err"
i "git.xdrm.io/go/aicra/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
}