package
Version:
v0.0.0-...-1b29edf
Opens a new window with list of versions in this module.
Published: May 2, 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
¶
Package utils contains utility functions that don't make sense to have their own namespaced packages.
func Chunk[T any](items []T, chunkSize int) (chunks [][]T)
Chunk breaks a slice of items into slices of a max length.
Source Files
¶
Directories
¶
Package cleanup provides a way to register functions for cleanup and run them.
|
Package cleanup provides a way to register functions for cleanup and run them. |
Package restart provides a way for a command to restart the bot.
|
Package restart provides a way for a command to restart the bot. |
Click to show internal directories.
Click to hide internal directories.