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
basic.txt add missing context to two unmarshal errors 4 years ago
cgo.txt
crossbuild.txt
debugdir.txt
embed.txt
gogarble.txt
goversion.txt
help.txt add missing context to two unmarshal errors 4 years ago
implement.txt
imports.txt
init.txt
ldflags.txt
linkname.txt
literals.txt
modinfo.txt
plugin.txt
position.txt
reflect.txt
reverse.txt
seed-cache.txt
seed.txt
syntax.txt
test.txt
tiny.txt