to_delete_list_from_jsonl

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustRun

func MustRun(inputFile string, outputFile string, expr string)

func New

func New(inputFile *string, outputFile *string, expression *string) *flaggy.Subcommand

Types

type Record

type Record struct {
	Tweet Tweet `json:"tweet"`
}

type Tweet

type Tweet struct {
	CreatedAtString     string `json:"created_at"`
	Id                  string `json:"id"`
	FavoriteCountString string `json:"favorite_count"`
	FullText            string `json:"full_text"`
	RetweetCountString  string `json:"retweet_count"`
}

func (Tweet) CreatedAt

func (t Tweet) CreatedAt() time.Time

func (Tweet) FavoriteCount

func (t Tweet) FavoriteCount() int

func (Tweet) RetweetCount

func (t Tweet) RetweetCount() int

Jump to

Keyboard shortcuts

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