Documentation
¶
Index ¶
- Constants
- Variables
- func ContainsKey(List []map[int][]uint64, key int) bool
- func ConvertToInt(str string) ([]uint64, error)
- func ConvertToStr(Nums []uint64) string
- func DateToDay(dat string) (string, error)
- func FilterDups(ListA, ListB []uint64) []uint64
- func GetDataFF(file string) map[string][]uint64
- func GetDate(str string) (int, int, error)
- func NumToDate(month, year, day int) string
- func NumToDate2(year, month, day int, entry string) string
- type DB
- func (m *DB) AnalyzeDay(year int)
- func (m *DB) AnalyzeEntry(year int)
- func (m *DB) AnalyzeJackPot() map[string]int
- func (m *DB) AnalyzeM(year int)
- func (m *DB) AnalyzeSDay(year int)
- func (m *DB) AnalyzeSuccess()
- func (m *DB) AnalyzeY(year int)
- func (m *DB) AnalyzedJackPot(year int) map[string]int64
- func (m *DB) ArrangeDates(date, date2 string) bool
- func (m *DB) CJackpot() error
- func (m *DB) CreateTable() error
- func (m *DB) CreateTdaily() error
- func (m *DB) CreateTmonth() error
- func (m *DB) CreateTweeky() error
- func (m *DB) FuckingFuck() [][]uint64
- func (m *DB) GetJDates(month, day, entry string) map[int][]string
- func (m *DB) GetJNumbers(month, day int) (map[string]int, [][]uint64)
- func (m *DB) GetJackPot() [][]uint64
- func (m *DB) GetMostDate(year int) month
- func (m *DB) GetMostUsed(table, dayEntry string, year, day, month int) (string, error)
- func (m *DB) GetjDates(numbers string) ([]string, []string)
- func (m *DB) ImportData(d map[string][]uint64, year, month int) error
- func (m *DB) ImportJack(year, month, day, myear, mmonth, mday int, entry, mentry string, ...) error
- func (m *DB) Improvedcentry(row []uint64, date string, years []int) map[string][]uint64
- func (m *DB) InitializeDB() chan error
- func (m *DB) InsertTo(table string, d []DataHold) error
- func (m *DB) JackPotNumbers(year int) map[int][][]uint64
- func (m *DB) MarkedDates(month int) map[string][]map[string]int
- func (m *DB) MarkedDates2(month, day int, entry string)
- func (m *DB) NumGetDay(year, day int, entry string) ([]uint64, error)
- func (m *DB) NumGetDayTime(year, day, month int, entry string) ([]uint64, error)
- func (m *DB) NumGetMonth(year, month int, entry string) ([]uint64, error)
- func (m *DB) NumGetSday(year, month int, sday, entry string) ([]uint64, error)
- func (m *DB) NumGetYear(year int) ([]uint64, error)
- func (m *DB) OriginalNumbers(year, month, day int, entry_time string) map[string]int64
- func (m *DB) RetrieveDates(month, day int, entry string) map[int][]map[string]string
- func (m *DB) TestCJackpot() error
- func (m *DB) Total_days(month int) int
- type DataHold
- type Job
- type Logger
- type Lott
- func (app *Lott) AnotherFuck()
- func (app *Lott) FuckingBeIt()
- func (app *Lott) InsanelyLucky()
- func (app *Lott) MonthTwelve()
- func (app *Lott) ParserFlags()
- func (app *Lott) SdayTable(Year, Month int, Sday string)
- func (app *Lott) ShowAnalyzed(Year int)
- func (app *Lott) ShowAnalyzed2()
- func (app *Lott) ShowMarked(month int)
- type Pair
- type Result
- type Utils
- func (util *Utils) FindDupNums(List []uint64, filtered bool) string
- func (Util *Utils) FormatDate(month, day int, entry string) string
- func (util *Utils) HandleError(err error)
- func (util *Utils) ReadNumbers(file string) []uint64
- func (Util *Utils) ReadfromFile() []byte
- func (Util *Utils) SaveToFile(content []byte)
- func (util *Utils) SetLogger()
- func (Util *Utils) SplitDate(c string) (string, string)
- func (Util *Utils) SplitDateV2(c string) (string, string)
- type VarsUsed
Constants ¶
const (
NumIter = 13
)
Variables ¶
var ( Days = []string{"Monday", "Tuesday", "Thursday", "Wednesday", "Friday", "Saturday", "Sunday"} YearSuccessive = map[int][]int{2020: {2021, 2022, 2023}, 2021: {2020, 2022, 2023}, 2022: {2020, 2021, 2023}, 2023: {2020, 2021, 2022}} )
var Debug = loggdb.Debug
var Times = map[int]string{1: "morning", 2: "noon", 3: "night"}
Functions ¶
func ContainsKey ¶
Check if a list of maps contains a key
func ConvertToInt ¶
func ConvertToStr ¶
func FilterDups ¶
Compare two lists and return duplicated Numbers
func NumToDate2 ¶
Types ¶
type DB ¶
func (*DB) AnalyzeDay ¶
Analyze everyday of all monthday of a year.
func (*DB) AnalyzeEntry ¶
Analyzing each entry in a whole year. Getting an entry of the morning and add it run a match on it. Could be missed by 1 number.
func (*DB) AnalyzeJackPot ¶
Return Jackpot numbers either being shown 3times straight over span of 2020-2023
func (*DB) AnalyzeSDay ¶
Analyzes Everysday of all months of a year
func (*DB) AnalyzeSuccess ¶
func (m *DB) AnalyzeSuccess()
func (*DB) AnalyzedJackPot ¶
Get JackPot Data Of a Year
func (*DB) ArrangeDates ¶
Arrange Dates. Arranging Dates By Not Repeating new dates to a corresponding old dates. For example 2023/1/1 matching to 2021/1/1 Should be instead 2021/1/1 to 2023/1/1
func (*DB) CreateTable ¶
func (*DB) CreateTdaily ¶
func (*DB) CreateTmonth ¶
func (*DB) CreateTweeky ¶
func (*DB) FuckingFuck ¶
func (*DB) GetJackPot ¶
func (*DB) GetMostUsed ¶
Get Most Used Of Sdaily GetMostUsed retrieves the most used value based on the given parameters.
func (*DB) ImportData ¶
Import data
func (*DB) ImportJack ¶
func (m *DB) ImportJack(year, month, day, myear, mmonth, mday int, entry, mentry string, numbers []uint64) error
Import jackpot data
func (*DB) Improvedcentry ¶
Upgraded Version (Faster)
func (*DB) InitializeDB ¶
func (*DB) MarkedDates ¶
Function to analyze dates, marking only repeated dates.
func (*DB) MarkedDates2 ¶
Filter Numbers Return Only Used and Unused Based on Year. Analyze based on date returns a list of repeated numbers at certain date based on other dates
func (*DB) NumGetDayTime ¶
Get numbers of a particular day and a month and with an entry.
func (*DB) NumGetMonth ¶
Get all numbers of a month (with entry_time) from a particular year
func (*DB) NumGetSday ¶
func (*DB) NumGetYear ¶
Get all numbers of a year
func (*DB) OriginalNumbers ¶
Get original matched date
func (*DB) RetrieveDates ¶
Get Dates and their numbers Based on a date in jackpot
func (*DB) TestCJackpot ¶
type Lott ¶
func (*Lott) AnotherFuck ¶
func (app *Lott) AnotherFuck()
func (*Lott) FuckingBeIt ¶
func (app *Lott) FuckingBeIt()
func (*Lott) InsanelyLucky ¶
func (app *Lott) InsanelyLucky()
Get everynumber from 2020/2023 and check if its repeated atleast 3times which should exactly be the same numbers. Since all the numbers would be in the same order like (1,2,3,4,5,6,7,8,9,10) Having a match would be insanely good luck
func (*Lott) ParserFlags ¶
func (app *Lott) ParserFlags()
func (*Lott) ShowAnalyzed ¶
This function gets date from analyze GetMostDate()
func (*Lott) ShowAnalyzed2 ¶
func (app *Lott) ShowAnalyzed2()
func (*Lott) ShowMarked ¶
type Utils ¶
type Utils struct {
Logger Logger
}
func (*Utils) FindDupNums ¶
Most Used Numbers in combination
func (*Utils) FormatDate ¶
Format Date into a string