mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-25 09:48:32 +02:00
fix(swagger): explicit set type names for IconFetchResult and IconMetaSearch
This commit is contained in:
@@ -29,7 +29,7 @@ type Result struct {
|
||||
StatusCode int
|
||||
|
||||
contentType string
|
||||
}
|
||||
} // @name IconFetchResult
|
||||
|
||||
func FetchResultWithErrorf(statusCode int, msgFmt string, args ...any) (Result, error) {
|
||||
return Result{StatusCode: statusCode}, fmt.Errorf(msgFmt, args...)
|
||||
|
||||
Reference in New Issue
Block a user