mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
Replace ioutil.WriteFile with os.WriteFile since the former has been deprecated since go1.16 and simply calls the latter. Signed-off-by: Miguel Pires <miguel.pires@canonical.com>
14 lines
182 B
Go
14 lines
182 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/snapcore/snapd/interfaces/builtin"
|
|
)
|
|
|
|
func main() {
|
|
for _, iface := range builtin.Interfaces() {
|
|
fmt.Printf("%s\n", iface.Name())
|
|
}
|
|
}
|