moriyoshi/s3-sftp-proxy

fail to start the server

ha62791 opened this issue · 1 comments

I fail to run this server
I am using go version go1.16.2 windows/amd64

go run src/main/main.go
command-line-arguments
src\main\main.go:31:36: undefined: S3Buckets
src\main\main.go:31:52: undefined: S3SFTPProxyConfig
src\main\main.go:120:14: undefined: ReadConfigFromFile
src\main\main.go:125:18: undefined: NewUserStoresFromConfig
src\main\main.go:130:18: undefined: NewS3BucketFromConfig
src\main\main.go:168:16: undefined: Server

solved
should use go run ./ to include all .go files in the same directory as the main.go files