Chore: code adjustments
This commit is contained in:
@ -23,8 +23,8 @@ const (
|
||||
|
||||
type NetWork int
|
||||
|
||||
func (n *NetWork) String() string {
|
||||
if *n == TCP {
|
||||
func (n NetWork) String() string {
|
||||
if n == TCP {
|
||||
return "tcp"
|
||||
}
|
||||
return "udp"
|
||||
|
Reference in New Issue
Block a user