Não use UUID
como PK nas tabelas do seu banco de dados.
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
# =============== # | |
# Unity generated # | |
# =============== # | |
[Tt]emp/ | |
[Oo]bj/ | |
[Bb]uild | |
/[Bb]uilds/ | |
/[Ll]ibrary/ | |
sysinfo.txt | |
*.stackdump |
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 | |
// usage: ./snmpwalk oid | |
// | |
// build: go build snmpwalk.go | |
// | |
// do like this | |
// snmpwalk -v 2c -c private 127.0.0.1 .1.3.6.1.4.1.2021.11 | |
import ( |
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
A test is not an unit test if: | |
* it talks to the database | |
* it communicates across the network | |
* it touches the file system | |
* it can’t run at the same time as any of your other unit tests | |
* you have to do special things to your environment (such as editing config files) to run it | |
Tests that do these things aren’t bad. Often they are worth writing, and they can be written in a unit test harness. However, it is important to keep them separate from true unit tests so that we can run the unit tests quickly whenever we make changes. | |
-- | |
by Michael Feathers |