Basic

command
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

README

Basic Example

This example demonstrates the basic usage of the random library.

Features

  • Generating random values for a complex struct (User).
  • Recursively populating nested structs (Address) and slices (Tags).
  • Using the stringer package to format the output as YAML.

Running

go run main.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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