commit | 28de5091b194d060d00b9fb0b193b0780b9323c1 | [log] [tgz] |
---|---|---|
author | John Dethridge <jcd@golang.org> | Mon Jan 12 12:15:31 2015 +1100 |
committer | John Dethridge <jcd@golang.org> | Mon Jan 12 02:02:54 2015 +0000 |
tree | 09d01e1426ced14908a1f590a9386e5548d7ad8b | |
parent | de7a5e3dfb38af2f8b474d30c6efa1ea2411b0f7 [diff] |
debug: Add a function for computing the stride of an array. Make sizeof() return a bool indicating success. Continue printing slices even if we can't determine the stride. Ran go fmt. Change-Id: I9cf3ae3806223dd7b8b420c817f02900fe7a1a05 Reviewed-on: https://go-review.googlesource.com/2684 Reviewed-by: Rob Pike <r@golang.org>