mirror of
https://github.com/SphericalKat/medium.rip.git
synced 2026-10-21 01:34:22 +00:00
fix(markup): handle UTF-16
Signed-off-by: Sphericalkat <amolele@gmail.com>
This commit is contained in:
1 parent
aacabdd54d
commit
f1ec8f7729
3 files changed
+1641
-319
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user