示例#1
0
func (art *article) Query(w http.ResponseWriter, request *http.Request) (int, interface{}, error) {
	return goal.HandleQuery(reflect.TypeOf(art), request)
}
示例#2
0
func (user *testuser) Query(w http.ResponseWriter, req *http.Request) (int, interface{}, error) {
	return goal.HandleQuery(reflect.TypeOf(user), req)
}