examples/

directory
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: MIT

README

srake Examples

This directory contains example code for using srake as a library.

Basic Example

The basic/ directory shows how to:

  • Open a database connection
  • Create a stream processor
  • Process SRA metadata from a URL

Run the example:

go run examples/basic/main.go

Using srake as a Library

import (
    "github.com/nishad/srake/internal/database"
    "github.com/nishad/srake/internal/processor"
)

Note: The internal/ packages are not meant for external use. Future versions may expose a public API in pkg/.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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