greeter

package
v0.0.0-...-bf903a4 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Greeting

type Greeting struct {
	Text string `json:"text"`
}

type GreetingRequest

type GreetingRequest struct {
	Name string `form:"name" binding:"required"`
}

type IService

type IService interface {
	Greet(ctx context.Context, request GreetingRequest) Greeting
}

func NewService

func NewService() IService

Jump to

Keyboard shortcuts

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