- iokde.com
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
| func readLine(path string) { | |
| inFile, _ := os.Open(path) | |
| defer inFile.Close() | |
| scanner := bufio.NewScanner(inFile) | |
| scanner.Split(bufio.ScanLines) | |
| for scanner.Scan() { | |
| fmt.Println(scanner.Text()) | |
| } | |
| } |
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
| import ( | |
| "runtime" | |
| "time" | |
| ) | |
| ... | |
| go func() { | |
| for { | |
| var m runtime.MemStats |
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 ( | |
| "compress/gzip" | |
| "io" | |
| "net/http" | |
| "strings" | |
| ) | |
| type gzipResponseWriter struct { |
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 ( | |
| "bytes" | |
| "fmt" | |
| "io" | |
| "log" | |
| "mime/multipart" | |
| "net/http" | |
| "os" |
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 utils | |
| import "crypto/cipher" | |
| type ecb struct { | |
| b cipher.Block | |
| blockSize int | |
| } | |
| func newECB(b cipher.Block) *ecb { |
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
| ### yo probe esta: | |
| —– BEGIN LICENSE —– | |
| J2TeaM | |
| 2 User License | |
| EA7E-940282 | |
| 45CB0D8F 09100037 7D1056EB A1DDC1A2 | |
| 39C102C5 DF8D0BF0 FC3B1A94 4F2892B4 | |
| 0AEE61BA 65758D3B 2EED551F A3E3478C | |
| C1C0E04E CA4E4541 1FC1A2C1 3F5FB6DB |
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
| 54.234.135.251 get.docker.io | |
| 54.234.135.251 cdn-registry-1.docker.io | |
| 74.125.128.102 golang.org | |
| 174.129.25.170 vagrantup.com |