base

package
v0.0.0-...-0158116 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Answer

type Answer interface {
	String() string
	Run(ctx context.Context) string
}

Answer 答案

type Chapter

type Chapter interface {
	GetQA(ctx context.Context, number int) QA
}

Chapter 章节

type QA

type QA interface {
	GetQ(ctx context.Context) Question
	GetA(ctx context.Context) Answer
}

QA QA

type Question

type Question interface {
	String() string
}

Question 问题

Jump to

Keyboard shortcuts

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