Dan Anglin
fa8dbe68e9
Allow users to limit the amount of employment history shown in the PDF document by specifying a time range. This is a breaking change as the structure of the CV needs to slightly change. The employment's start and end dates need to be represented as integers. Additional refactoring: - The CV type is now in the internal cv package. - The template functions are now in the internal templateFuncs package.
11 lines
217 B
Go
11 lines
217 B
Go
package templates
|
|
|
|
import (
|
|
"strings"
|
|
)
|
|
|
|
// JoinSentences uses strings.Join to join all string elements into
|
|
// a single string.
|
|
func JoinSentences(sentences []string) string {
|
|
return strings.Join(sentences, " ")
|
|
}
|