go-sdk/gitea/git_blob.go
Richard Mahn 10ebef4a16 Adds structures for repo file and blob APIs (#152)
* Adds structures for repo file and blob APIs

* Updates Git Blob

* Moves IdentityOptions to Identity in repo_commit for reusability

* Formatting

* Fixed quote

* Fix to json variable

* Fixes to comments

* Adds copyright to header

* Removes unused code

* Makes author and committer pointers

* Removes Identity from being a pointer

* proper struct
2019-03-21 07:37:31 +00:00

15 lines
411 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 gitea
// 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"`
}