Skip to content

Commit

Permalink
chore: remove blanks between package and its comment
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 committed May 19, 2021
1 parent 46c7678 commit af31db1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions internal/logging/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

// package logging provides logging functionality for gnet server,
// Package logging provides logging functionality for gnet server,
// it sets up a default logger (powered by go.uber.org/zap)
// which is about to be used by gnet server, it also allows users
// to replace the default logger with their customized logger by just
Expand All @@ -34,7 +34,6 @@
// The environment variable `GNET_LOGGING_MODE` determines which zap logger type will be created for logging,
// "prod" (case-insensitive) means production logger while other values except "prod" including "dev" (case-insensitive)
// represent development logger.

package logging

import (
Expand Down
5 changes: 2 additions & 3 deletions internal/socket/socket.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

// Package reuseport provides functions that return fd and net.Addr based on
// given the protocol and address with a SO_REUSEPORT option set to the socket.

// +build linux freebsd dragonfly darwin

// Package socket provides functions that return fd and net.Addr based on
// given the protocol and address with a SO_REUSEPORT option set to the socket.
package socket

import (
Expand Down

0 comments on commit af31db1

Please sign in to comment.