Skip to content

Commit

Permalink
chore: update dependencits
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Sato1995 committed Jan 25, 2024
1 parent 83aae53 commit 71da9c5
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Install the cli.

```
go install github.com/K-Sato1995/go-simple-ssg/simple-ssg-cli@latest
go install github.com/K-Sato1995/github.com/K-Sato1995/go-simple-ssg/simple-ssg-cli@latest
```

run
Expand Down
6 changes: 4 additions & 2 deletions baseProject/main.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
package main

import (
gosimplessg "go-simple-ssg"
"go-simple-ssg/config"
"log"
"net/http"

gosimplessg "github.com/K-Sato1995/go-simple-ssg"

"github.com/K-Sato1995/go-simple-ssg/config"
)

func main() {
Expand Down
3 changes: 2 additions & 1 deletion builder/generateDetail.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ package builder
import (
"bytes"
"fmt"
"go-simple-ssg/parser"
"html/template"
"io/ioutil"
"os"
"path/filepath"
"strings"

"github.com/K-Sato1995/go-simple-ssg/parser"
)

func GenerateDetailPages(templatePath string, generatedPath string) ([]ArticleInfo, error) {
Expand Down
5 changes: 3 additions & 2 deletions engine.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package engine

import (
"go-simple-ssg/builder"
"go-simple-ssg/config"
"log"

"github.com/K-Sato1995/go-simple-ssg/builder"
"github.com/K-Sato1995/go-simple-ssg/config"
)

type Engine struct {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module go-simple-ssg
module github.com/K-Sato1995/go-simple-ssg

go 1.21.6

Expand Down
7 changes: 5 additions & 2 deletions simple-ssg-cli/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
module github.com/K-Sato1995/go-simple-ssg/simple-ssg-cli
module github.com/go-simple-ssg/simple-ssg-cli

go 1.21.6

require github.com/spf13/cobra v1.8.0
require (
github.com/K-Sato1995/go-simple-ssg/simple-ssg-cli v0.0.0-20240125103358-806c21a6d881
github.com/spf13/cobra v1.8.0
)

require (
github.com/inconshreveable/mousetrap v1.1.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions simple-ssg-cli/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
github.com/K-Sato1995/go-simple-ssg/simple-ssg-cli v0.0.0-20240125103358-806c21a6d881 h1:M4vEao0fvMGLRE8WjVTpy+5u6N7eSVWYw7hCLF3JE5E=
github.com/K-Sato1995/go-simple-ssg/simple-ssg-cli v0.0.0-20240125103358-806c21a6d881/go.mod h1:PLcm3Q7MAG3BafpcHHg36W8sqdVNdmeolhyODmqmmrQ=
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
Expand Down

0 comments on commit 71da9c5

Please sign in to comment.