rename and move related codes together
This commit is contained in:
parent
9f69ba7a0b
commit
63e4038a28
3 changed files with 45 additions and 51 deletions
|
|
@ -47,7 +47,7 @@ var serveCmd = &cobra.Command{
|
|||
Branch: branch,
|
||||
}
|
||||
|
||||
s, err := lib.Run(bind, f)
|
||||
s, err := lib.UseAPI(bind, f)
|
||||
if err != nil {
|
||||
fmt.Println("cannot create server: ", err)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue