Merge pull request #4 from mschoebel/windows_path Convert OS-specific path separators to slash
Burcu Dogan
9 years ago
1 changed file(s) with
1 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-1
statik.go
less
more
136
136
if err != nil {
137
137
return err
138
138
}
139
fHeader.Name = relPath
139
fHeader.Name = filepath.ToSlash(relPath)
140
140
f, err := w.CreateHeader(fHeader)
141
141
if err != nil {
142
142
return err