You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
garble/testdata/scripts
Daniel Martí e3a59eae07 add missing context to two unmarshal errors
Returning a json or gob error directly to the user is generally not
helpful, as it lacks any form of context.
For example, from the json unmarshal of "go env -json":

	$ garble build
	invalid character 'w' looking for beginning of value

Also improve the error when the user ran garble in the wrong way,
resulting in no shared gob file. The context is now shorter, and we also
include the os.Open error in case it contains any useful details.

While here, apply Go tip's gofmt, which reformatted a godoc list.

For #523.
4 years ago
..
asm.txt all: drop support for Go 1.17 4 years ago
basic.txt add missing context to two unmarshal errors 4 years ago
cgo.txt all: drop support for Go 1.17 4 years ago
crossbuild.txt all: drop support for Go 1.17 4 years ago
debugdir.txt all: drop support for Go 1.17 4 years ago
embed.txt all: drop support for Go 1.17 4 years ago
gogarble.txt all: drop support for Go 1.17 4 years ago
goversion.txt all: drop support for Go 1.17 4 years ago
help.txt add missing context to two unmarshal errors 4 years ago
implement.txt all: drop support for Go 1.17 4 years ago
imports.txt Fix removing named imports and fix removing imports with init() methods 4 years ago
init.txt all: drop support for Go 1.17 4 years ago
ldflags.txt all: drop support for Go 1.17 4 years ago
linkname.txt all: drop support for Go 1.17 4 years ago
literals.txt all: drop support for Go 1.17 4 years ago
modinfo.txt all: drop support for Go 1.17 4 years ago
plugin.txt all: drop support for Go 1.17 4 years ago
position.txt all: drop support for Go 1.17 4 years ago
reflect.txt make KnownReflectAPIs aware of variadic funcs 4 years ago
reverse.txt all: drop support for Go 1.17 4 years ago
seed-cache.txt all: drop support for Go 1.17 4 years ago
seed.txt all: drop support for Go 1.17 4 years ago
syntax.txt all: drop support for Go 1.17 4 years ago
test.txt all: drop support for Go 1.17 4 years ago
tiny.txt all: drop support for Go 1.17 4 years ago