faker

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package faker contains Faker class implementation for sobek.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Constructor

func Constructor(call sobek.ConstructorCall, runtime *sobek.Runtime) *sobek.Object

Constructor is a Faker class constructor.

func GetCategoryFuncs

func GetCategoryFuncs() map[string]map[string]*gofakeit.Info

GetCategoryFuncs returns fake functions by category.

func GetFuncLookups

func GetFuncLookups() map[string]*gofakeit.Info

GetFuncLookups returns fake functions lookup table.

func New

func New(seed int64, runtime *sobek.Runtime) *sobek.Object

New calls Faker constructor and returns new Faker object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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