package
Version:
v0.5.3
Opens a new window with list of versions in this module.
Published: Sep 14, 2020
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 12
Opens a new window with list of known importers.
Documentation
¶
func DoSilent(interface{}, error)
DoSilent accepts a result of
* fmt.Fprint* function family
* io.Copy* and io.Read* function family
* io.Writer interface
and allows to ignore it.
unsafe.DoSilent(fmt.Fprintln(writer, "ignore the result"))
Ignore accepts an error and allows to ignore it.
unsafe.Ignore(
template.Must(template.New("html").Parse(content)).Execute(writer, data),
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.