chore: initialize containerized Go learning workbook (2026 DevOps/SRE)
This commit is contained in:
commit
84be3e5d77
64 files changed
+1382
No files matched your search
@@ -0,0 +1,17 @@
|
||||
package testing_ex
|
||||
|
||||
type Store interface {
|
||||
Get(key string) (string, bool)
|
||||
}
|
||||
|
||||
type FeatureFlags struct {
|
||||
Store Store
|
||||
}
|
||||
|
||||
func (f FeatureFlags) IsEnabled(name string) bool {
|
||||
panic("TODO: pobierz z f.Store.Get(name); zwróć true dla 'true' lub '1' (case-insensitive)")
|
||||
}
|
||||
|
||||
func WriteAndReadLines(path string, lines []string) ([]string, error) {
|
||||
panic("TODO: zapisz lines (os.WriteFile) i odczytaj z powrotem (os.ReadFile)")
|
||||
}
|
||||
Reference in new issue
Block a user