- Use filepaths with /tmp for tests instead - Only mock functions where filepath can't be specified such as user.Lookup
8 lines
182 B
Go
8 lines
182 B
Go
package storage
|
|
|
|
import "github.com/qdm12/gluetun/internal/models"
|
|
|
|
func (s *storage) FlushToFile(allServers models.AllServers) error {
|
|
return flushToFile(s.filepath, allServers)
|
|
}
|