cmd

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Copyright © 2023 xiaoshangyangcode

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalysizeLine

func AnalysizeLine(line string, year int, resultmap *map[string]*MailStruct, count *map[string]int, isSkip *bool)

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type MailStruct

type MailStruct struct {
	Subject      string
	Sender       string
	IsTrue       bool
	IsDone       bool
	ReceiverList *[]ReceiverCell
	SendTime     time.Time
}

type ReceiverCell

type ReceiverCell struct {
	Receiver string
	Result   string
	Rtime    time.Time
	Message  string
}

Jump to

Keyboard shortcuts

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