Skip to main content

Quick Start

In this guide, we’ll create a simple TUI application demonstrating the main features of Ziva. Screenshot: basic Ziva queue

Step 1: Create Project

Create a new Go project:

Step 2: Basic Application

Create a main.go file:

Step 3: Run

Run the application:
You’ll see an interactive interface with different types of tasks.

Step 4: Working with Results

Extend the example to work with results:
And update main:

Core Concepts

Task Queue

The central component that manages sequential task execution:

Task Types

  1. YesNoTask - Yes/No choice
  2. SingleSelectTask - Single option selection
  3. MultiSelectTask - Multiple option selection
  4. InputTask - Text input with validation
  5. FuncTask - Function execution

Timeouts

All tasks support timeouts with default values:

Validation

Built-in validators for various data types:

What’s Next

Components

Explore all available components in detail

Validation

Learn about the data validation system

Styling

Customize application appearance

Examples

Study advanced usage examples