interactive_problem

command
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: MIT Imports: 3 Imported by: 0

README

Interactive Problem Template

Use below interface and implement it both in main.go and main_test.go.

type interaction interface {
	readInitData() initData
	query(request) response
	printAnswer(answer)
}

In this way we can mock the IO part.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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