readstats

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: MIT Imports: 4 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package readstats counts the applications by status, without reading them.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Process

func Process(ctx context.Context, db bun.IDB) *run

Types

type Stats

type Stats struct {
	Total int `json:"total"`
	// ByStatus has every status, 0 included.
	ByStatus map[domain.Status]int `json:"by_status"`
	// ResponseRate is the share of applications that got past applied, 0 to 1.
	ResponseRate float64 `json:"response_rate"`
}

Stats are the counts of the applications.

Jump to

Keyboard shortcuts

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