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 committed Nov 19, 2022
1 parent fed2e86 commit c9fb36e
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
@@ -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
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 c9fb36e

Please sign in to comment.