(file string)
| 799 | } |
| 800 | |
| 801 | func NewFileSecret(file string) *FileSecret { |
| 802 | return &FileSecret{file: file} |
| 803 | } |
| 804 | |
| 805 | func (s *FileSecret) Fetch(context.Context) (string, error) { |
| 806 | fileBytes, err := os.ReadFile(s.file) |
no outgoing calls
searching dependent graphs…