birthday

package module
v0.0.0-...-1b95d41 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: MIT Imports: 9 Imported by: 0

README

birthday-greetings-kata

Code for https://github.com/xpmatteo/birthday-greetings-kata in Go.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendGreetings

func SendGreetings(filename string, now time.Time, smtpHost string, smtpPort int) error

Types

type Employee

type Employee struct {
	Birthdate time.Time
	Email     string
	Firstname string
	Lastname  string
}

func NewEmployee

func NewEmployee(firstName, lastName, birthDate, email string) (*Employee, error)

func (Employee) IsBirthday

func (e Employee) IsBirthday(date time.Time) bool

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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