Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PubSubMemory ¶
type PubSubMemory[T any] struct { // contains filtered or unexported fields }
⚠️ This is used for example purposes only
func NewPubSubMemory ¶
func NewPubSubMemory[T any]() *PubSubMemory[T]
⚠️ This is used for example purposes only
func (*PubSubMemory[T]) Publish ¶
func (ps *PubSubMemory[T]) Publish(msg T)
func (*PubSubMemory[T]) Subscribe ¶
func (ps *PubSubMemory[T]) Subscribe() chan T
type SQLPrinter ¶
type SQLPrinter struct {
// contains filtered or unexported fields
}
func NewSQLPrinter ¶
func NewSQLPrinter(db *sql.DB) *SQLPrinter
func (*SQLPrinter) Query ¶
func (s *SQLPrinter) Query(query string, args ...any)
Click to show internal directories.
Click to hide internal directories.