devlopment branch (#1736)

This commit is contained in:
zryfish
2020-01-02 20:52:00 +08:00
committed by GitHub
parent ff0ffe8650
commit eceadec69c
440 changed files with 61524 additions and 3699 deletions

View File

@@ -1,16 +1,16 @@
package notification
type NotificationOptions struct {
type Options struct {
Endpoint string
}
func NewNotificationOptions() *NotificationOptions {
return &NotificationOptions{
func NewNotificationOptions() *Options {
return &Options{
Endpoint: "",
}
}
func (s *NotificationOptions) ApplyTo(options *NotificationOptions) {
func (s *Options) ApplyTo(options *Options) {
if options == nil {
options = s
return