Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ccf992c

Browse files
committed
repo_hook: update Payloader interface
Remove method SetSecret.
1 parent 89ff140 commit ccf992c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

‎gogs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
)
1515

1616
func Version() string {
17-
return "0.12.5"
17+
return "0.12.6"
1818
}
1919

2020
// Client represents a Gogs API client.

‎repo_hook.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ func (c *Client) DeleteRepoHook(user, repo string, id int64) error {
7070
}
7171

7272
type Payloader interface {
73-
SetSecret(string)
7473
JSONPayload() ([]byte, error)
7574
}
7675

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /