Skip to content

Commit 261737f

Browse files
committed
cleanup formattings
1 parent 97062b3 commit 261737f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ackermann.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ func ackermann_json(input *C.char) *C.char {
3737

3838
err := json.Unmarshal([]byte(C.GoString(input)), &params)
3939
if err != nil {
40-
panic(err)
41-
}
40+
panic(err)
41+
}
4242

4343
result := ackermann(params[0], params[1])
4444

4545
data, err := json.Marshal(result)
46-
if err != nil {
47-
panic(err)
48-
}
46+
if err != nil {
47+
panic(err)
48+
}
4949

5050
return C.CString(string(data))
5151
}

0 commit comments

Comments
 (0)