formatting
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Jake Hillion 2021-05-13 21:56:57 +01:00
parent 75f02802ad
commit 7534a3c0bf
2 changed files with 3 additions and 3 deletions

View File

@ -162,7 +162,7 @@ func buildUdp(
return nil
}
func initiateVerifiers(vs []func()proxy.MacVerifier) (out []proxy.MacVerifier) {
func initiateVerifiers(vs []func() proxy.MacVerifier) (out []proxy.MacVerifier) {
out = make([]proxy.MacVerifier, len(vs))
for i, v := range vs {
out[i] = v()
@ -170,7 +170,7 @@ func initiateVerifiers(vs []func()proxy.MacVerifier) (out []proxy.MacVerifier) {
return
}
func initiateGenerators(gs []func()proxy.MacGenerator) (out []proxy.MacGenerator) {
func initiateGenerators(gs []func() proxy.MacGenerator) (out []proxy.MacGenerator) {
out = make([]proxy.MacGenerator, len(gs))
for i, g := range gs {
out[i] = g()

View File

@ -49,7 +49,7 @@ type Flow struct {
func NewFlow(vs []proxy.MacVerifier, gs []proxy.MacGenerator) Flow {
return Flow{
verifiers: vs,
verifiers: vs,
generators: gs,
toConsume: make(chan []byte),