Aller retourner pointeurs de la fonction

// Program to return a pointer from a function
package main
import "fmt"
 func main() {

  // function call
  result := display() 
  fmt.Println("Welcome to", *result)

} 

func display() *string {

  message := "Programiz"

  // returns the address of message
  return &message

}
SAMER SAEID