diff options
| author | zimoun <zimon.toutoune@gmail.com> | 2021-08-06 11:05:17 -0700 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2021-09-01 23:41:42 +0200 |
| commit | be13e2be08feb88d868f911d8f55b0451fe15e10 (patch) | |
| tree | 35127fcd5b9494c028a377acd5b306f8fccf3361 /tests | |
| parent | f95bdeb93a30b89c821627aa91da4ef3afaeb5af (diff) | |
import: go: Improve error handling.
* guix/import/go.scm (go-module->guix-package*): Handle errors, remove
memoize.
(go-module-recursive-import): Remove 'guard', add memoize.
* guix/scripts/import/go.scm (guix-import-go): Adjust.
* tests/go.scm: Adjust.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/go.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/go.scm b/tests/go.scm index 6749f4585ff..9e7223ff7c3 100644 --- a/tests/go.scm +++ b/tests/go.scm | |||
| @@ -410,6 +410,6 @@ package.") | |||
| 410 | (nix-base32-string->bytevector | 410 | (nix-base32-string->bytevector |
| 411 | "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5") | 411 | "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5") |
| 412 | #f))) | 412 | #f))) |
| 413 | (go-module->guix-package "github.com/go-check/check"))))))) | 413 | (go-module->guix-package* "github.com/go-check/check"))))))) |
| 414 | 414 | ||
| 415 | (test-end "go") | 415 | (test-end "go") |
