forked from Shiloh/githaven
34eee25bd4
* move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor
15 lines
413 B
Go
15 lines
413 B
Go
// Copyright 2019 The Gitea Authors. All rights reserved.
|
|
// Use of this source code is governed by a MIT-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package structs
|
|
|
|
// GitBlobResponse represents a git blob
|
|
type GitBlobResponse struct {
|
|
Content string `json:"content"`
|
|
Encoding string `json:"encoding"`
|
|
URL string `json:"url"`
|
|
SHA string `json:"sha"`
|
|
Size int64 `json:"size"`
|
|
}
|