service

package
v0.0.0-...-bae3b6f Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: MIT 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