Get
should return a value RVV-A0006295 return nil
296}
297
298func (sc *sftpContext) getDir(rpath string, args []string) {299 lpath := path.Base(rpath) + ".zip"
300
301 if len(args) > 2 {
Typically, functions with names prefixed with Get are supposed to return a value.
func GetData(n int) {
fmt.Println(10 - n)
}
func GetData(n int) int {
fmt.Println(10 - n)
return 10 - n
}