comment

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2018 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	// Add stores a comment in the system
	Add(comment *comment.Comment) error

	// Get retrieves the comments associated of
	// the test case or test sequence with the given id
	Get(id id.TestID) ([]*comment.Comment, bool)
}

Store provides an interface for storing and retrieving comments

func GetStore

func GetStore() Store

GetStore returns the instance of a Store that can be used to retrieve and store comments

Jump to

Keyboard shortcuts

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