fooservice

package
v0.0.0-...-bb6899e Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 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 ExternalService

type ExternalService interface {
	Call() error
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(options ...ServiceOption) *Service

func (*Service) Call

func (s *Service) Call() error

type ServiceOption

type ServiceOption func(s *Service)

func WithExternalService

func WithExternalService(externalService ExternalService) ServiceOption

Directories

Path Synopsis
Package mock_fooservice is a generated GoMock package.
Package mock_fooservice is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳