Fixing array

pull/1/head
daffainfo 2021-12-02 21:12:35 +07:00
parent a07123a8e0
commit cf65b41f04
2 changed files with 6 additions and 3 deletions

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"go.inferGopath": false
}

View File

@ -12,7 +12,7 @@ import (
)
type regex_data struct {
Name []string `json:"Name"`
Name [100]string `json:"Name"`
Regex string `json:"Regex"`
}
@ -38,7 +38,7 @@ func Regex_api(contents string) string {
var data []regex_data
var result string
resp, err := http.Get("https://raw.githubusercontent.com/daffainfo/ApiGuesser/main/db.json")
resp, err := http.Get("https://raw.githubusercontent.com/daffainfo/apiguesser/main/db.json")
if err != nil {
fmt.Println("No response from request")
}