package
module
Version:
v0.0.0-...-8dd403d
Opens a new window with list of versions in this module.
Published: Sep 21, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
func K[T any](v T, ok bool) valueOK[T]
K captures a value and a bool.
V captures a value and an error. Usage:
V(os.CreateFile(filename, 0600)).P("open file", "filename", filename), or
V(os.CreateFile(filename, 0600)).P(), or
V(os.CreateFile(filename, 0600)).F("open file", "filename", filename)
V(os.CreateFile(filename, 0600)).F()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.