mirror of
https://git.macaw.me/skunky/SkunkyArt.git
synced 2025-04-28 12:05:06 +03:00
отображение ошибок
This commit is contained in:
parent
5a8a0987a2
commit
c39399403e
11 changed files with 74 additions and 35 deletions
|
@ -9,7 +9,11 @@ import (
|
|||
"golang.org/x/net/html"
|
||||
)
|
||||
|
||||
func (s skunkyart) ParseComments(c devianter.Comments) string {
|
||||
func (s skunkyart) ParseComments(c devianter.Comments, daError devianter.Error) string {
|
||||
if daError.RAW != nil {
|
||||
return "Failed to fetch comments :("
|
||||
}
|
||||
|
||||
var cmmts strings.Builder
|
||||
replied := make(map[int]string)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue