examples

command
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: MIT Imports: 4 Imported by: 0

README

goaster Examples

All examples are unified under a single web application.

To explore them locally:

  1. Clone the repository

    git clone https://github.com/indaco/goaster.git
    
  2. Run the example server

    You can either run it from the project root:

    cd goaster
    make dev # or: task dev
    

    Or directly from the examples directory:

    cd goaster/examples
    go run .
    
  3. Open your browser

    Visit http://localhost:3000 browse the homepage and explore all available examples.

Each example includes:

  • A handler file under examples/handlers/ showing how to configure and use goaster for that scenario.
  • A page file under examples/pages/ rendering the corresponding UI using Templ.

Examples available:

  • Single message toast
  • Multiple toasts
  • Single message using template/html
  • Multiple messages using template/html
  • Theming
  • Variants
  • Custom icons
  • Custom animations

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
templ: version: v0.3.943
templ: version: v0.3.943
partials
templ: version: v0.3.943
templ: version: v0.3.943
templ: version: v0.3.943
templ: version: v0.3.943
templ: version: v0.3.943
templ: version: v0.3.943

Jump to

Keyboard shortcuts

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