A FTP server based on github.com/goftp/server.
Full documentation for the package is available on godoc
go get github.com/goftp/ftpd
Then run it:
And finally, connect to the server with any FTP client and the following details:
host: 127.0.0.1 port: 2121 username: admin password: 123456
More features, you can copy config.ini to the ftpd directory and modify it.