update dependencies
This commit is contained in:
parent
09eeccd1e8
commit
8be7e5c197
9 changed files with 252 additions and 385 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue