util

package
v0.0.0-...-ff7f6f1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyCommonFields

func CopyCommonFields(srcP, destP interface{})

func DiffTimeHours

func DiffTimeHours(startDate string, endDate string) int

Types

type D

type D struct {
	Name string
	E    E
}

type E

type E struct {
	Role string
}

type T1

type T1 struct {
	A int
	B int
	C string
	D D
}

type T2

type T2 struct {
	A int    //`print:"B"`
	B int    //`print:"A"`
	C string `print:"D.E.Role"`
}

Jump to

Keyboard shortcuts

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