Skip to content

Commit

Permalink
Merge pull request #149 from y-yagi/go123
Browse files Browse the repository at this point in the history
Use Go 1.23
  • Loading branch information
y-yagi authored Sep 12, 2024
2 parents 98a7147 + 30676ea commit 5d81e6e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.21]
go: [1.23]
steps:

- name: Set up Go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
go-version: 1.23

- name: Check out code into the Go module directory
uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions calendar.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ func (calendar *Calendar) Generate(date time.Time) {

// Show calendar
func (calendar *Calendar) Show(w io.Writer) {
fmt.Fprintf(w, calendar.DateHeader+"\n")
fmt.Fprintf(w, calendar.WeekHeader+"\n")
fmt.Fprint(w, calendar.DateHeader+"\n")
fmt.Fprint(w, calendar.WeekHeader+"\n")
for _, element := range calendar.Body {
fmt.Fprintf(w, element+"\n")
fmt.Fprint(w, element+"\n")
}
}

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/y-yagi/jpcal

go 1.21
go 1.23

require (
github.com/fatih/color v1.17.0
Expand Down

0 comments on commit 5d81e6e

Please sign in to comment.