20 lines
292 B
Go
20 lines
292 B
Go
package operator
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
type FileExistsParams struct{}
|
|
|
|
type FileExistsResult struct {
|
|
Code int
|
|
}
|
|
|
|
func (oper *Operator) FileExists(param *FileExistsParams) (*FileExistsResult, error) {
|
|
var err error
|
|
res := &FileExistsResult{
|
|
Code: http.StatusOK,
|
|
}
|
|
return res, err
|
|
}
|