mirror of
https://github.com/soypat/lneto.git
synced 2026-08-20 14:39:02 +00:00
refactor lneto2->lneto package
This commit is contained in:
+2
-2
@@ -4,8 +4,8 @@ import (
|
||||
"bytes"
|
||||
"errors"
|
||||
|
||||
"github.com/soypat/lneto"
|
||||
"github.com/soypat/lneto/ethernet"
|
||||
"github.com/soypat/lneto/lneto2"
|
||||
)
|
||||
|
||||
type Handler struct {
|
||||
@@ -133,7 +133,7 @@ func (c *Handler) Recv(b []byte) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
var vld lneto2.Validator
|
||||
var vld lneto.Validator
|
||||
afrm.ValidateSize(&vld)
|
||||
if vld.HasError() {
|
||||
return vld.Err()
|
||||
|
||||
Reference in New Issue
Block a user