// The netcfg package's Swift: what its Go declares, implemented on iOS // and macOS (Netcfg.asuka.swift, beside it, is what asuka native generates). import Asuka import Foundation final class SwiftNetcfg: Netcfg { func hello(name: String) throws -> String { "Hello, \(name), from Swift" } } func makeNetcfg() throws -> any Netcfg { SwiftNetcfg() }