看了下简单的基础类型泛型汇编
// main.go
package main
func SumInt8(a, b int8) int8 {
return a + b
}
package main | |
import ( | |
"fmt" | |
"sync" | |
"time" | |
) | |
func main() { | |
q := &Queue{} |
package main | |
func main() { | |
flag := true | |
// 协程 A | |
go func() { | |
println("Goroutine start\n") | |
for flag { | |
println("Goroutine flag:", flag) |
package main | |
import ( | |
"log" | |
"sync" | |
"sync/atomic" | |
"time" | |
) | |
type Node struct { |
package test | |
import ( | |
"bufio" | |
"io" | |
"log" | |
"net" | |
"sync" | |
"testing" | |
"time" |
看了下简单的基础类型泛型汇编
// main.go
package main
func SumInt8(a, b int8) int8 {
return a + b
}
package main | |
type IAB interface { | |
FooA() | |
FooB() | |
} | |
type A struct{} | |
func (a *A) FooA() { |
# -*- coding:utf-8 -*- | |
#!/usr/bin/python3 | |
import os | |
import datetime | |
class PIConverter: | |
def __init__(self, maxRead=0, minNum=100000, maxNum=99999999): | |
self.maxRead = maxRead | |
self.minNum = minNum |
package main | |
import ( | |
"fmt" | |
"io" | |
"io/ioutil" | |
"net" | |
"os" | |
"time" |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).