mock

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Serializer

type Serializer struct {
	SerializerFn      func(p svermaker.ProjectVersion) error
	SerializerInvoked bool

	DeserializeFn       func() (*svermaker.ProjectVersion, error)
	DeserializerInvoked bool

	ExistsFn      func() bool
	ExistsInvoked bool
}

Serializer is a mock of the Serializer interface

func (*Serializer) Deserialize

func (s *Serializer) Deserialize() (*svermaker.ProjectVersion, error)

Deserialize is a mock

func (*Serializer) Exists

func (s *Serializer) Exists() bool

Exists is a mock

func (*Serializer) Serialize

func (s *Serializer) Serialize(p svermaker.ProjectVersion) error

Serialize is a mock

Jump to

Keyboard shortcuts

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