fix(markup): handle UTF-16

Signed-off-by: Sphericalkat <amolele@gmail.com>
This commit is contained in:
sphericalkat committed 2023-05-28 17:09:37 +05:30
1 parent aacabdd54d
commit f1ec8f7729
3 files changed
+1641 -319

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ import (
)
func PostData(postId string) (*entities.MediumResponse, error) {
if config.Conf.Env == "devd" {
if config.Conf.Env == "dev" {
file, err := os.ReadFile("response.json")
if err != nil {
return nil, err