uses

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: MIT Imports: 4 Imported by: 0 modules, 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 uses is a native module that uses another, roundtrip: its structs, enums and objects cross from one module to the other.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mixer

type Mixer interface {
	// Pair returns p with its record's counts summed into N.
	Pair(p Pair) (Pair, error)
	// Kinds returns the kinds of the records.
	Kinds(rs []roundtrip.Record) []roundtrip.Kind
	// Next asks c, roundtrip's, for its next count.
	Next(c roundtrip.Counter) int
}

Mixer takes roundtrip's values.

func NewMixer

func NewMixer() (Mixer, error)

NewMixer makes the implementation of Mixer on this platform. It returns errors.ErrUnsupported where the module has none, or the system lacks what it needs.

type Pair

type Pair struct {
	R     roundtrip.Record
	Inner *roundtrip.Inner
	N     int
}

Pair holds a record of roundtrip's.

Jump to

Keyboard shortcuts

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