Discover Packages
github.com/PlayerR9/MyGoLib
Interfaces
package
Version:
v0.2.4
Opens a new window with list of versions in this module.
Published: Jan 12, 2024
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func Cleanup[T any ](value any ) T
Cleanup calls the Cleanup method of the given object if it implements the Cleanable interface.
It returns a zero value of the given type.
type Cleanable interface {
Cleanup()
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.