service

package
v0.0.0-...-681e4f9 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecKillService

type SecKillService struct {
}

ArithmeticService implement Service interface

func (SecKillService) SecKill

func (s SecKillService) SecKill(a, b int) int

Add implement Add method

type Service

type Service interface {

	// Divide calculate a/b
	SecKill() (int, error)
}

Service Define a service interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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