service

package
v0.1.0-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseXls

func ParseXls(file *excelize.File, opt XLSXOptions) []model.Question

ParseXls 解析xlsx文件

Types

type XLSXOptions

type XLSXOptions struct {
	SheetName string   `json:"sheet"`
	Question  string   `json:"q"`
	Answer    string   `json:"a"`
	Option    []string `json:"o"`
}

XLSXOptions xlsx选项

Jump to

Keyboard shortcuts

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