Skip to content

Commit 64178f2

Browse files
committed
Fixed broken Config struct.
1 parent 96cb06a commit 64178f2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/example_win_test.go

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
//go:build windows
12
// +build windows
3+
24
// © Ben Garrett https://github.com/bengarrett/zipcmt
35

46
package zipcmt
@@ -10,12 +12,12 @@ import (
1012

1113
func ExampleConfig_clean() {
1214
c := Config{
13-
Save: "..//test///.",
15+
SaveName: "..//test///.",
1416
}
1517
if err := c.clean(); err != nil {
1618
log.Fatalln(err)
1719
}
18-
fmt.Print(c.Save)
20+
fmt.Print(c.SaveName)
1921
// Output: ..\test
2022
}
2123

0 commit comments

Comments
 (0)