b9c381e26f
The patch to open a file in read/write mode is now merged
23 lines
629 B
Go
23 lines
629 B
Go
// Fully featured and highly configurable SFTP server with optional
|
|
// FTP/S and WebDAV support. It can serve local filesystem, S3 or
|
|
// Google Cloud Storage.
|
|
// For more details about features, installation, configuration and usage
|
|
// please refer to the README inside the source tree:
|
|
// https://github.com/drakkan/sftpgo/blob/master/README.md
|
|
package main // import "github.com/drakkan/sftpgo"
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"go.uber.org/automaxprocs/maxprocs"
|
|
|
|
"github.com/drakkan/sftpgo/cmd"
|
|
)
|
|
|
|
func main() {
|
|
if undo, err := maxprocs.Set(); err != nil {
|
|
fmt.Printf("error setting max procs: %v\n", err)
|
|
undo()
|
|
}
|
|
cmd.Execute()
|
|
}
|