This commit is contained in:
wagslane
2023-05-01 15:25:27 -06:00
parent f8912668b8
commit 9be3074de6
868 changed files with 58698 additions and 2 deletions

View File

@@ -0,0 +1,32 @@
package main
import "fmt"
type authenticationInfo struct {
username string
password string
}
// ?
// don't touch below this line
func test(authInfo authenticationInfo) {
fmt.Println(authInfo.getBasicAuth())
fmt.Println("====================================")
}
func main() {
test(authenticationInfo{
username: "Google",
password: "12345",
})
test(authenticationInfo{
username: "Bing",
password: "98765",
})
test(authenticationInfo{
username: "DDG",
password: "76921",
})
}