Last active
January 16, 2025 11:11
-
-
Save stokito/600e43e4e05e7c89754c8c8f7acf10d7 to your computer and use it in GitHub Desktop.
Revisions
-
stokito revised this gist
Jan 16, 2025 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,4 +9,7 @@ } ``` Похожие проблемы могут быть `'` заменилось на `’` (апостроф). Ещё двойные кавычки могут заменятся на “лапки” что тоже не сразу заметить. https://github.com/golang/go/issues/57405 -
stokito revised this gist
Jan 16, 2025 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,4 +9,4 @@ } ``` Похожие проблемы могут быть `'` заменилось на `’` (апостроф). Ещё двойные кавычки могут заменятся на “лапки” что тоже не сразу заметить. -
stokito created this gist
Jan 16, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ Разбор json в Го выдал ошибку `invalid character 'Â'` поскольку был NBSP пробел который появился при копировании из доков. Найдите его тут: ```json { "user": { } } ``` Похожие проблемы могут быть `'` заминилось на `’` (апостроф). Ещё двойные кавычки могут заменятся на “лапки” что тоже не сразу заметить.