update dependencies

This commit is contained in:
dhax 2023-10-04 17:43:16 +02:00
parent 09eeccd1e8
commit 8be7e5c197
9 changed files with 252 additions and 385 deletions

View file

@ -2,8 +2,8 @@ package cmd
import (
"fmt"
"io/ioutil"
"log"
"os"
"github.com/dhax/go-base/api"
"github.com/go-chi/docgen"
@ -53,7 +53,7 @@ func genRoutesDoc() {
ProjectPath: "github.com/dhax/go-base",
Intro: "GoBase REST API.",
})
if err := ioutil.WriteFile("routes.md", []byte(md), 0644); err != nil {
if err := os.WriteFile("routes.md", []byte(md), 0644); err != nil {
log.Println(err)
return
}