diff options
| -rw-r--r-- | converter.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/converter.go b/converter.go index 58f9974..da78cb4 100644 --- a/converter.go +++ b/converter.go @@ -6,7 +6,6 @@ package ciigo import ( "fmt" "html/template" - "io/ioutil" "log" "os" "path/filepath" @@ -183,7 +182,7 @@ func (converter *Converter) markdownToHtml(fmarkup *FileMarkup) (fhtml *fileHtml parserCtx parser.Context ) - in, err = ioutil.ReadFile(fmarkup.path) + in, err = os.ReadFile(fmarkup.path) if err != nil { return nil, fmt.Errorf(`%s: %w`, logp, err) } |
