type User struct { ID string Name string } ... So instead of creating a type Storage struct , we create a type Storage interface .
確定! 回上一頁