Skip to content

Commit

Permalink
Fix some errors found by golangci-lint
Browse files Browse the repository at this point in the history
Fix some errors found by golangci-lint
  • Loading branch information
stv0g authored and Sean-Der committed Nov 30, 2022
1 parent 1d0366c commit f455ca8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/vnet-udpproxy/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Package main implements an example for the virtual Net
// UDP proxy.
package main

import (
Expand Down
1 change: 1 addition & 0 deletions utils/xor/xor_arm64.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ package xor

// XorBytes xors the bytes in a and b. The destination should have enough
// space, otherwise xorBytes will panic. Returns the number of bytes xor'd.
//
//revive:disable-next-line
func XorBytes(dst, a, b []byte) int {
n := len(a)
Expand Down

0 comments on commit f455ca8

Please sign in to comment.