package core // 传入的参数 type Args struct { FilePath string `json:"file_path"` } // 返回的参数 type Reply struct { FilePath string `json:"file_path"` } // type FileRpc string // 获取文件路径 func (f *FileRpc) GetFilePath(args *Args, replay *Reply) error { return nil }