We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3783728 commit c904f5aCopy full SHA for c904f5a
kadai2/tanaka0325/imgconv/cmd/imgconv/main.go
@@ -48,7 +48,7 @@ func main() {
48
}
49
50
if !*options.DryRun {
51
- if err := imgconv.Convert(param); err != nil {
+ if err := imgconv.Do(param); err != nil {
52
onExit(err)
53
54
} else {
kadai2/tanaka0325/imgconv/imgconv.go
@@ -13,7 +13,7 @@ type ConvertParam struct {
13
ToExt string
14
15
16
-func Convert(param ConvertParam) (err error) {
+func Do(param ConvertParam) (err error) {
17
// open file
18
r, err := os.Open(param.Path + "." + param.FromExt)
19
if err != nil {
0 commit comments