fixgen

package
v3.0.0-pre-alpha.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package fixgen generates test fixtures for slackdump.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateTestConversation

func GenerateTestConversation(name string, startDate time.Time, endDate time.Time, numMessages int) types.Conversation

GenerateTestConversation generates a test conversation with a random name.

func GenerateTestMessage

func GenerateTestMessage(startDate, endDate time.Time) types.Message

func ReSeed

func ReSeed(n int64)

ReSeed reseeds the random number generator

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL