# isupper ## Instructions Écrire une fonction qui retourne `true` si la `string` passée en paramètre contient seulement des caractères majuscules, et qui retourne `false` autrement. ## Fonction attendue ```go func IsUpper(str string) bool { } ``` ## Utilisation Voici un éventuel [programme](TODO-LINK) pour tester votre fonction : ```go package main import ( "fmt" piscine ".." ) func main() { fmt.Println(piscine.IsUpper("HELLO")) fmt.Println(piscine.IsUpper("HELLO!")) } ``` Et son résultat : ```console student@ubuntu:~/piscine/test$ go build student@ubuntu:~/piscine/test$ ./test true false stude0t@ubuntu:~$ ```