package main

import (
	cryptoRand "crypto/rand"
	"fmt"
	"math/big"
	"time"

	"antoine-roux.ml/projects/go/test/employee"
)

var a, b int = 1, 2

func main() {
	fmt.Println("a+b : ", a+b)

	fmt.Println("Hello, :D ")
	fmt.Println("Hello, playground", time.Now())

	nBig, err := cryptoRand.Int(cryptoRand.Reader, big.NewInt(27))
	if err != nil {
		panic(err)
	}
	n := nBig.Int64()

	//b := []byte{0}
	//r := cryptoRand.Reader.Read(b)
	fmt.Printf("r (%T) %d\n", n, n)
	//fmt.Println("Random", mathRand.Seed(r).Intn(9))

	e := employee.New("antoine", "roux", 10, 5)
	e.LeavesRemaining()
}

// bool
// string
// int  int8  int16  int32  int64
// uint uint8 uint16 uint32 uint64 uintptr
// byte // alias for uint8
// rune // alias for int32
//      // represents a Unicode code point
// float32 float64
// complex64 complex128