<commit_before>package main

import (
  "seeme/loginuser"
  "seeme/registeruser"
  "seeme/allusers"
  "seeme/localusers"
  "seeme/updatenetwork"
  "seeme/newconnections"
  "seeme/profiledelete"
  "seeme/profileupdate"
  "seeme/feedback"
  "seeme/db"

  "fmt"
  "net/http"

  "github.com/urfave/negroni"
  _ "github.com/go-sql-driver/mysql"
)


func main()  {
  db.InitMySQLConnection()
  apiUrl := "/seeme/api"

  mux := http.NewServeMux()
  mux.HandleFunc(apiUrl + "/login/user", loginuser.LoginUserController)
  mux.HandleFunc(apiUrl + "/register", registeruser.RegisterUserController)
  mux.HandleFunc(apiUrl + "/discoverable/allusers", allusers.AllUsersController)
  mux.HandleFunc(apiUrl + "/discoverable/localusers", localusers.LocalUsersController)
  mux.HandleFunc(apiUrl + "/discoverable/update-network", updatenetwork.UpdateUserNetworkController)
  mux.HandleFunc(apiUrl + "/connection/new", newconnections.NewConnectionController)
  mux.HandleFunc(apiUrl + "/profile/delete", profiledelete.ProfileDeleteController)
  mux.HandleFunc(apiUrl + "/profile/update", profileupdate.ProfileUpdateController)<commit_msg>added Delete controller back to main.go<commit_after>package main

import (
  "seeme/loginuser"
  "seeme/registeruser"
  "seeme/allusers"
  "seeme/localusers"
  "seeme/updatenetwork"
  "seeme/newconnections"
  "seeme/deleteconnection"
  "seeme/profiledelete"
  "seeme/profileupdate"
  "seeme/feedback"
  "seeme/db"

  "fmt"
  "net/http"

  "github.com/urfave/negroni"
  _ "github.com/go-sql-driver/mysql"
)


func main()  {
  db.InitMySQLConnection()
  apiUrl := "/seeme/api"

  mux := http.NewServeMux()
  mux.HandleFunc(apiUrl + "/login/user", loginuser.LoginUserController)
  mux.HandleFunc(apiUrl + "/register", registeruser.RegisterUserController)
  mux.HandleFunc(apiUrl + "/discoverable/allusers", allusers.AllUsersController)
  mux.HandleFunc(apiUrl + "/discoverable/localusers", localusers.LocalUsersController)
  mux.HandleFunc(apiUrl + "/discoverable/update-network", updatenetwork.UpdateUserNetworkController)
  mux.HandleFunc(apiUrl + "/connection/new", newconnections.NewConnectionController)
  mux.HandleFunc(apiUrl + "/connection/new", deleteconnection.DeleteConnectionController)
  mux.HandleFunc(apiUrl + "/profile/delete", profiledelete.ProfileDeleteController)
  mux.HandleFunc(apiUrl + "/profile/update", profileupdate.ProfileUpdateController)
{'fraction_non_alphanumeric': 0.13081761006289308, 'fraction_numerical': 0.0, 'mean_word_length': 5.501362397820164, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4371156', 'n_tokens_mistral': 836, 'n_tokens_neox': 797, 'n_words': 104}