test2
This commit is contained in:
parent
33b0cfbe45
commit
6ff32267c7
|
|
@ -79,7 +79,9 @@ func ParseLinkTY(link string,w http.ResponseWriter) {
|
||||||
|
|
||||||
product, err := linkParser.ParseLink()
|
product, err := linkParser.ParseLink()
|
||||||
|
|
||||||
fmt.Println(product)
|
jsProd,_:= json.MarshalIndent(product,""," ")
|
||||||
|
|
||||||
|
fmt.Println(string(jsProd))
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
w.WriteHeader(http.StatusInternalServerError)
|
w.WriteHeader(http.StatusInternalServerError)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue