Browse Source

Router usando context

William Wiechorek 6 years ago
parent
commit
554c26b9b0
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/controller/Test/Test.go

+ 0 - 1
src/controller/Test/Test.go

@@ -19,7 +19,6 @@ type Profile struct {
19 19
 //Inicial : Func
20 20
 func Inicial(w http.ResponseWriter, r *http.Request) {
21 21
 	fmt.Println(r.Context().Value("parameters").([]string))
22
-	fmt.Print(r.Context().Value("Username"))
23 22
 
24 23
 	var Errors errorHandler.Errors
25 24