This file contains 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
var | |
MNR_ARRAY_TOOLTIPS = document.querySelectorAll("[data-mnr-tooltip]"), | |
MNR_BODY = document.querySelector("body"), | |
hasClass = function(element, className) { | |
for (var i of element.classList) | |
if (element.classList[i] === className) | |
return true; | |
return false; | |
}, |
This file contains 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 | |
//Importa os pacotes necessarios | |
import ( | |
"log" | |
"net/http" | |
"time" | |
) | |
//Faca a funcao main que sera sua funcao principal |
This file contains 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 ( | |
"encoding/json" | |
"github.com/gorilla/mux" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"strconv" | |
"time" |