mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-08 18:23:45 +08:00
chore: use config value for order pay timeout
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"geekai/utils"
|
||||
"fmt"
|
||||
"net/url"
|
||||
)
|
||||
|
||||
func main() {
|
||||
text := "https://nk.img.r9it.com/chatgpt-plus/1712709360012445.png 请简单描述一下这幅图上的内容 "
|
||||
imgURL := utils.ExtractImgURL(text)
|
||||
fmt.Println(imgURL)
|
||||
text := "https://nk.img.r9it.com/chatgpt-plus/1712709360012445.png"
|
||||
parse, _ := url.Parse(text)
|
||||
fmt.Println(fmt.Sprintf("%s://%s", parse.Scheme, parse.Host))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user