From 4b57a3224a02df59133d29715e8a60375747299b Mon Sep 17 00:00:00 2001 From: Florent Clairambault Date: Sun, 7 Feb 2021 02:22:38 +0100 Subject: [PATCH] chore(doc): Fixing package doc (#229) Co-authored-by: probot-auto-merge[bot] <41167595+probot-auto-merge[bot]@users.noreply.github.com> --- asciiconverter.go | 3 +-- client_handler.go | 3 +-- consts.go | 3 +-- driver.go | 3 +-- handle_auth.go | 3 +-- handle_dirs.go | 3 +-- handle_files.go | 3 +-- handle_misc.go | 3 +-- transfer_active.go | 3 +-- transfer_pasv.go | 3 +-- 10 files changed, 10 insertions(+), 20 deletions(-) diff --git a/asciiconverter.go b/asciiconverter.go index f5b0d0dd..4efb6f3c 100644 --- a/asciiconverter.go +++ b/asciiconverter.go @@ -1,5 +1,4 @@ -// Package ftpserver provides all the tools to build your own FTP server: The core library and the driver. -package ftpserver +package ftpserver // nolint import ( "bufio" diff --git a/client_handler.go b/client_handler.go index c6fd30ef..140bacf2 100644 --- a/client_handler.go +++ b/client_handler.go @@ -1,5 +1,4 @@ -// Package ftpserver provides all the tools to build your own FTP server: The core library and the driver. -package ftpserver +package ftpserver // nolint import ( "bufio" diff --git a/consts.go b/consts.go index 1ba2f63e..dbb8d28c 100644 --- a/consts.go +++ b/consts.go @@ -1,5 +1,4 @@ -// Package ftpserver provides all the tools to build your own FTP server: The core library and the driver. -package ftpserver +package ftpserver // nolint // from @stevenh's PR proposal // https://github.com/fclairamb/ftpserverlib/blob/becc125a0770e3b670c4ced7e7bd12594fb024ff/server/consts.go diff --git a/driver.go b/driver.go index 3ba74d04..0f02bee1 100644 --- a/driver.go +++ b/driver.go @@ -1,5 +1,4 @@ -// Package ftpserver provides all the tools to build your own FTP server: The core library and the driver. -package ftpserver +package ftpserver // nolint import ( "crypto/tls" diff --git a/handle_auth.go b/handle_auth.go index 93b5bbee..3112625b 100644 --- a/handle_auth.go +++ b/handle_auth.go @@ -1,5 +1,4 @@ -// Package ftpserver provides all the tools to build your own FTP server: The core library and the driver. -package ftpserver +package ftpserver // nolint import "fmt" diff --git a/handle_dirs.go b/handle_dirs.go index 2020e99e..979621b2 100644 --- a/handle_dirs.go +++ b/handle_dirs.go @@ -1,5 +1,4 @@ -// Package ftpserver provides all the tools to build your own FTP server: The core library and the driver. -package ftpserver +package ftpserver // nolint import ( "fmt" diff --git a/handle_files.go b/handle_files.go index 1e0f01f5..a6d6ae2e 100644 --- a/handle_files.go +++ b/handle_files.go @@ -1,5 +1,4 @@ -// Package ftpserver provides all the tools to build your own FTP server: The core library and the driver. -package ftpserver +package ftpserver // nolint import ( "crypto/md5" //nolint:gosec diff --git a/handle_misc.go b/handle_misc.go index b05b997e..70f4a843 100644 --- a/handle_misc.go +++ b/handle_misc.go @@ -1,5 +1,4 @@ -// Package ftpserver provides all the tools to build your own FTP server: The core library and the driver. -package ftpserver +package ftpserver // nolint import ( "bufio" diff --git a/transfer_active.go b/transfer_active.go index f01150ca..c9cac20a 100644 --- a/transfer_active.go +++ b/transfer_active.go @@ -1,5 +1,4 @@ -// Package ftpserver provides all the tools to build your own FTP server: The core library and the driver. -package ftpserver +package ftpserver // nolint import ( "crypto/tls" diff --git a/transfer_pasv.go b/transfer_pasv.go index ee6c837f..1b2ca4a5 100644 --- a/transfer_pasv.go +++ b/transfer_pasv.go @@ -1,5 +1,4 @@ -// Package ftpserver provides all the tools to build your own FTP server: The core library and the driver. -package ftpserver +package ftpserver // nolint import ( "crypto/tls"