experiment

package
v0.6.28 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package experiment is a test package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Metadata   Metadata        `json:"metadata"`
	Variations []VariationData `json:"variations"`
}

Data is a test dummy.

type Entity

type Entity struct {
	ID         int                `json:"id"`
	Variation  variation.Entity   `json:"variation"`
	Variations []variation.Entity `json:"variations"`
}

Entity defines experiment data.

type Metadata

type Metadata struct {
	SomePeriod Period `json:"allocation_period"`
}

Metadata defines experiment entity metadata.

type Period

type Period struct {
	Start time.Time `json:"start" db:"-"`
	End   time.Time `json:"end" db:"-"`
}

Period defines metadata period.

type PostRequest

type PostRequest struct {
	Country string `path:"country"`
	Data
}

PostRequest is a test dummy.

type VariationData

type VariationData struct {
	SomeKey  string             `json:"some_key"`
	Metadata variation.Metadata `json:"metadata"`
}

VariationData is a test dummy.

Directories

Path Synopsis
Package variation is a test package.
Package variation is a test package.

Jump to

Keyboard shortcuts

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