This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "log" | |
| "net/http" | |
| "html/template" | |
| "github.com/gorilla/mux" | |
| ) | |
| var tpl *template.Template |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| packages | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| installing go | |
| https://www.youtube.com/watch?v=5qI8z_lB5Lw | |
| !!!!!!Connecting to a mysql database!!!!!!!!!!!! | |
| https://dinosaurscode.xyz/go/2016/06/19/golang-mysql-authentication/ | |
| Golang IDE | |
| https://www.jetbrains.com/go/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| protected void CreateNewStaffMember() | |
| { | |
| StaffMember _newStaffMember = new StaffMember(); | |
| //... Code to create the new StaffMember... | |
| //Raise the event | |
| NewStaffCreated(_newStaffMember); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Data; | |
| using System.Drawing; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using System.Windows.Forms; |