 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- func CityRateQuery(city string) (int, int, error)
- func InsertBook(title string, author string) error
- func InsertTempDateCityNameQuery(tablename string, temp int, date time.Time, city string, name string) error
- func InsertToMailTableWithoutConfirm(email string, hash string, username string, pwdhash string) error
- func SelectAllBooks() (err error, b []types.Book)
- func SelectAllConfirmedMail() []string
- func SelectMail(email string) []string
- func SelectQuote() (string, error)
- func SelectStarExampleQuery()
- func SelectUsernameAndPwdhash(username string) (string, error)
- func StartDatabaseUse(dbname string) (*sql.DB, error)
- func UpdateConfirmData(emailhash string) error
- type Book
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var (
	B types.Book
)
    Functions ¶
func InsertBook ¶
func SelectAllBooks ¶
func SelectAllConfirmedMail ¶
func SelectAllConfirmedMail() []string
func SelectMail ¶
func SelectQuote ¶
SelectQuote selecting a quote for the daily mail from the database randomly
func SelectStarExampleQuery ¶
func SelectStarExampleQuery()
func UpdateConfirmData ¶
Types ¶
 Click to show internal directories. 
   Click to hide internal directories.