models

package
v0.0.0-...-212a885 Latest Latest
Warning

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

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

Documentation

Overview

* @Author: Wangjun * @Date: 2021-08-20 11:00:46 * @LastEditTime: 2022-05-20 14:33:53 * @LastEditors: Wangjun * @Description:struct 和 xlsx 转换 * @FilePath: \golib\structdetail\struct_detail.go * hnxr

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column struct {
	reflect.StructField
	Title     string
	FullName  string
	FullIndex []int //全路径
}

列信息

type StructDetail

type StructDetail struct {
	Name    string
	Columns []*Column
	// contains filtered or unexported fields
}

struct 信息

func NewStructMap

func NewStructMap(arrayObject interface{}, tagKey string) (sm *StructDetail)

*

  • @description: 新的映射关系
  • @param {interface{}} arrayObject struct 数组
  • @param {string} tagKey 需要识别的tag字段
  • @return {*}

type Xlsx

type Xlsx struct {
}

Jump to

Keyboard shortcuts

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