]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.fuzz] internal/fuzz: move CoordinateFuzzing args into struct type
authorJay Conrod <jayconrod@google.com>
Wed, 7 Apr 2021 21:24:06 +0000 (17:24 -0400)
committerJay Conrod <jayconrod@google.com>
Fri, 9 Apr 2021 19:53:06 +0000 (19:53 +0000)
commit88c0c2d9ea9c57eb3c5915d9e90ec59ae5a35a35
tree9eaef9b9e373f38d13402d2894b1a3a4c1051d36
parentb2b6be71f27ef74510394dad822cfe8d5e56f4f4
[dev.fuzz] internal/fuzz: move CoordinateFuzzing args into struct type

This improves readability a bit, and it should help with compatibility
for future clients when arguments are added or reordered.

Unfortunately, testing still can't import internal/fuzz, so the
interface there can't use this type.

Change-Id: I4cda2347884defcbbfc2bd01ab5b4a901d91549c
Reviewed-on: https://go-review.googlesource.com/c/go/+/308192
Trust: Jay Conrod <jayconrod@google.com>
Trust: Katie Hockman <katie@golang.org>
Run-TryBot: Jay Conrod <jayconrod@google.com>
Reviewed-by: Katie Hockman <katie@golang.org>
src/internal/fuzz/fuzz.go
src/internal/fuzz/worker.go
src/testing/internal/testdeps/deps.go