fix formatting on go code
This commit is contained in:
parent
f98af5aae4
commit
da4e37c06f
|
@ -26,10 +26,10 @@ import (
|
||||||
func main() {
|
func main() {
|
||||||
skylink, err := skynet.UploadFile("./image.jpg", skynet.DefaultUploadOptions)
|
skylink, err := skynet.UploadFile("./image.jpg", skynet.DefaultUploadOptions)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Printf("Unable to upload: %v\n", err.Error())
|
fmt.Printf("Unable to upload: %v", err.Error())
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
fmt.Printf("Upload successful, skylink: %v\n", skylink)
|
fmt.Printf("Upload successful, skylink: %v", skylink)
|
||||||
}`
|
}`
|
||||||
|
|
||||||
export const ruby = ``
|
export const ruby = ``
|
||||||
|
|
Reference in New Issue