1package auth 2 3import "context" 4 5type ( 6 Repository interface { 7 GetIDByUsername(ctx context.Context, username string) (uint, error) 8 GetPassword(ctx context.Context, id uint) ([]byte, error) 9 } 10)