Files
ozu.io/web/responses.go
Jim Myhrberg 68807898da Lots of changes to web package
Use go-bindata, html/templates, and lots of other changes to the web
package.
2016-07-17 16:16:59 +01:00

16 lines
316 B
Go

package web
//go:generate easyjson -all responses.go
// URLResponse contains shortened URL info.
type URLResponse struct {
UID string `json:"uid"`
URL string `json:"url"`
Target string `json:"target"`
}
// ErrorJSONResponse contains error info.
type ErrorResponse struct {
Error string `json:"error"`
}