Skip to content

Commit 9c6a40c

Browse files
committed
rename some config apis
1 parent fd3fccd commit 9c6a40c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

conf/config.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,15 @@ func WithIcon(icon string) Option {
103103
}
104104
}
105105

106-
// WithCustomCSS sets the custom CSS URL.
107-
func WithCustomCSS(customCSS ...string) Option {
106+
// WithStyles sets the custom CSS URL.
107+
func WithStyles(customCSS ...string) Option {
108108
return func(c *Config) {
109109
c.CustomCSS = customCSS
110110
}
111111
}
112112

113-
// WithCustomJS sets the custom JavaScript URL.
114-
func WithCustomJS(customJS ...string) Option {
113+
// WithScripts sets the custom JavaScript URL.
114+
func WithScripts(customJS ...string) Option {
115115
return func(c *Config) {
116116
c.CustomJS = customJS
117117
}

0 commit comments

Comments
 (0)