Skip to content

Commit 096500d

Browse files
committed
Update copyright year 2024 -> 2025
1 parent d5f0167 commit 096500d

File tree

5 files changed

+29
-28
lines changed

5 files changed

+29
-28
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2014-2024 TSUYUSATO Kitsune
3+
Copyright (c) 2014-2025 TSUYUSATO Kitsune
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

dot/dot.go

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2014-2024 TSUYUSATO Kitsune
1+
// Copyright (c) 2014-2025 TSUYUSATO Kitsune
22
// This software is released under the MIT License.
33
// http://opensource.org/licenses/mit-license.php
44

@@ -10,21 +10,21 @@
1010
//
1111
// For example:
1212
//
13-
// package main
13+
// package main
1414
//
15-
// import (
16-
// "fmt"
17-
// "runtime"
18-
// . "github.com/MakeNowJust/heredoc/v2/dot"
19-
// )
15+
// import (
16+
// "fmt"
17+
// "runtime"
18+
// . "github.com/MakeNowJust/heredoc/v2/dot"
19+
// )
2020
//
21-
// func main() {
22-
// fmt.Printf(D(`
23-
// GOROOT: %s
24-
// GOARCH: %s
25-
// GOOS : %s
26-
// `), runtime.GOROOT(), runtime.GOARCH, runtime.GOOS)
27-
// }
21+
// func main() {
22+
// fmt.Printf(D(`
23+
// GOROOT: %s
24+
// GOARCH: %s
25+
// GOOS : %s
26+
// `), runtime.GOROOT(), runtime.GOARCH, runtime.GOOS)
27+
// }
2828
package heredoc_dot
2929

3030
import "github.com/MakeNowJust/heredoc/v2"

example_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
// Copyright (c) 2014-2024 TSUYUSATO Kitsune
1+
// Copyright (c) 2014-2025 TSUYUSATO Kitsune
22
// This software is released under the MIT License.
33
// http://opensource.org/licenses/mit-license.php
44

55
package heredoc_test
66

77
import (
88
"fmt"
9+
910
"github.com/MakeNowJust/heredoc/v2"
1011
)
1112

heredoc.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
// Copyright (c) 2014-2024 TSUYUSATO Kitsune
1+
// Copyright (c) 2014-2025 TSUYUSATO Kitsune
22
// This software is released under the MIT License.
33
// http://opensource.org/licenses/mit-license.php
44

55
// Package heredoc provides creation of here-documents from raw strings.
66
//
77
// Golang supports raw-string syntax.
88
//
9-
// doc := `
10-
// Foo
11-
// Bar
12-
// `
9+
// doc := `
10+
// Foo
11+
// Bar
12+
// `
1313
//
1414
// But raw-string cannot recognize indentation. Thus such content is an indented string, equivalent to
1515
//
16-
// "\n\tFoo\n\tBar\n"
16+
// "\n\tFoo\n\tBar\n"
1717
//
1818
// I don't want this!
1919
//
2020
// However this problem is solved by package heredoc.
2121
//
22-
// doc := heredoc.Doc(`
23-
// Foo
24-
// Bar
25-
// `)
22+
// doc := heredoc.Doc(`
23+
// Foo
24+
// Bar
25+
// `)
2626
//
2727
// Is equivalent to
2828
//
29-
// "Foo\nBar\n"
29+
// "Foo\nBar\n"
3030
package heredoc
3131

3232
import (

heredoc_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2014-2024 TSUYUSATO Kitsune
1+
// Copyright (c) 2014-2025 TSUYUSATO Kitsune
22
// This software is released under the MIT License.
33
// http://opensource.org/licenses/mit-license.php
44

0 commit comments

Comments
 (0)