// Copyright 2017 The Gogs Authors. All rights reserved.// Use of this source code is governed by a MIT-style// license that can be found in the LICENSE file.packagegogsimport("time")// Release represents a release API object.typeReleasestruct{IDint64`json:"id"`TagNamestring`json:"tag_name"`TargetCommitishstring`json:"target_commitish"`Namestring`json:"name"`Bodystring`json:"body"`Draftbool`json:"draft"`Prereleasebool`json:"prerelease"`Author*User`json:"author"`Createdtime.Time`json:"created_at"`}