diff options
author | Runxi Yu <me@runxiyu.org> | 2025-08-12 11:01:07 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-09-13 19:08:22 +0800 |
commit | 5717faed659a9eeb86c528ab56822c42eca1ad3f (patch) | |
tree | 92e6662628a51c03c52300d2fd98173716a82882 /forged/internal/misc/back.go | |
parent | Remove forge-specific functions from misc (diff) | |
download | forge-5717faed659a9eeb86c528ab56822c42eca1ad3f.tar.gz forge-5717faed659a9eeb86c528ab56822c42eca1ad3f.tar.zst forge-5717faed659a9eeb86c528ab56822c42eca1ad3f.zip |
Refactor
Diffstat (limited to 'forged/internal/misc/back.go')
-rw-r--r-- | forged/internal/misc/back.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/forged/internal/misc/back.go b/forged/internal/misc/back.go deleted file mode 100644 index 5351359..0000000 --- a/forged/internal/misc/back.go +++ /dev/null @@ -1,11 +0,0 @@ -// SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org> - -package misc - -// ErrorBack wraps a value and a channel for communicating an associated error. -// Typically used to get an error response after sending data across a channel. -type ErrorBack[T any] struct { - Content T - ErrorChan chan error -} |