091528835f
- Add a new file `gitea/org_action.go` - Add a new file `gitea/secret.go` Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> block by https://github.com/go-gitea/gitea/pull/26485 Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/629 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: John Olheiser <john+gitea@jolheiser.com> Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com> Co-committed-by: Bo-Yi Wu <appleboy.tw@gmail.com>
14 lines
341 B
Go
14 lines
341 B
Go
// Copyright 2023 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
|
|
|
|
import "time"
|
|
|
|
type Secret struct {
|
|
// the secret's name
|
|
Name string `json:"name"`
|
|
// Date and Time of secret creation
|
|
Created time.Time `json:"created_at"`
|
|
}
|