1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 05:40:11 +01:00

Do not export function in config.

This commit is contained in:
Sascha L. Teichmann 2022-08-03 15:32:05 +02:00
parent fd0ae57443
commit 696fb74b36
2 changed files with 3 additions and 3 deletions

View file

@ -86,9 +86,9 @@ type config struct {
keyErr error
}
// TooOldForInterims returns a function that tells if a given
// tooOldForInterims returns a function that tells if a given
// time is too old for the configured interims interval.
func (c *config) TooOldForInterims() func(time.Time) bool {
func (c *config) tooOldForInterims() func(time.Time) bool {
if c.InterimYears <= 0 {
return func(time.Time) bool { return false }
}