- Maintained by: the X Project
- Where to get help: the Docker Community Forums, the Docker Community Slack, or Stack Overflow
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 ( | |
"fmt" | |
"log" | |
"golang.org/x/crypto/bcrypt" | |
) | |
func main() { | |
for { |
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
// ... | |
// Create new validator | |
validate := utils.Validate(map[string]string{ | |
"uuid": user.ID.String(), | |
"email": user.Email, | |
"username": user.Username, | |
}) | |
// Check fields validation |
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
<script> | |
// массив, в котором лежат нужные нам названия UTM | |
var UTMS = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_content', 'utm_term']; | |
// функция, которая вытаскивает все GET-параметры из адресной строки | |
function findGETParameterByName(name) { | |
var result = null, tmp = []; | |
location.search.substr(1).split('&').forEach(function (item) { | |
tmp = item.split('='); | |
if (tmp[0] === name) result = decodeURIComponent(tmp[1]); |
OlderNewer