example

package module
v0.0.0-...-4562fdf Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 4 Imported by: 0

README

Overview

This is an example project to demonstrate how to use got for testing.

Run go test for testing.

For CI setup example check the Example Github Action.

Documentation

Overview

Package example ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Rand

func Rand(src rand.Source) string

Rand generate a random int as string

func ServeSum

func ServeSum(w http.ResponseWriter, r *http.Request)

ServeSum http handler function

func Sum

func Sum(a, b string) string

Sum a and b as number

Types

This section is empty.

Jump to

Keyboard shortcuts

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