github.com/qioalice/ekago/v3@v3.3.2-0.20221202205325-5c262d586ee4/ekatime/init.go (about)

     1  // Copyright © 2020. All rights reserved.
     2  // Author: Ilya Stroy.
     3  // Contacts: iyuryevich@pm.me, https://github.com/qioalice
     4  // License: https://opensource.org/licenses/MIT
     5  
     6  package ekatime
     7  
     8  func init() {
     9  
    10  	// WARNING!
    11  	// CHANGE THE ORDER CAREFULLY!
    12  
    13  	initTable5() // must be first always!
    14  
    15  	// ---------
    16  
    17  	initDateNumStr()
    18  	initTimeNumStr()
    19  
    20  	initWeekday()
    21  
    22  	// ---------
    23  
    24  	initOnceIn() // must be last always!
    25  }