Skip to content

Commit

Permalink
Update http.go
Browse files Browse the repository at this point in the history
  • Loading branch information
zxfishhack authored Oct 11, 2023
1 parent 3316e78 commit 4780bd3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions util/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ import (
"golang.org/x/crypto/pkcs12"
)

// UriModifier URI修改器
type UriModifier func(uri string) string
// URIModifier URI修改器
type URIModifier func(uri string) string

var uriModifier UriModifier
var uriModifier URIModifier

// SetUriModifier 设置URI修改器
func SetUriModifier(fn UriModifier) {
// SetURIModifier 设置URI修改器
func SetURIModifier(fn URIModifier) {
uriModifier = fn
}

Expand Down

0 comments on commit 4780bd3

Please sign in to comment.