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" | |
| "math/cmplx" | |
| "math" | |
| ) | |
| func equal(x, y complex128) bool { | |
| delta := 0.0001 |
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" | |
| "math" | |
| "math/cmplx" | |
| ) | |
| func equal(x, y complex128) bool { | |
| delta := 0.000001 |
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
| //$('.qor-notify-number').hide(); //红色通知,还是留着吧... | |
| $('.qor-notify-num-grey').hide(); //灰色未读数不要 | |
| $('.new-stream-bar').remove(); //不要主动推送消息 |
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 TestSha1(t *testing.T) { | |
| v := map[string]string{"name": "Felix", "age": "18"} | |
| e := &v | |
| //e := &[]string{"hi"} | |
| sh1 := sha1.New() | |
| io.WriteString(sh1, "q3244214") | |
| ge := gob.NewEncoder(sh1) | |
| ge.Encode(e) | |
| fmt.Println(".........!") |
OlderNewer