Skip to content

Instantly share code, notes, and snippets.

View 7yan00's full-sized avatar

Ryusen Sasa 7yan00

  • Japan , Tokyo
View GitHub Profile
package main
import (
"fmt"
"time"
)
func main() {
test()
time.Sleep(3 *time.Second)
package main
import (
"fmt"
"time"
)
func main() {
go test()
time.Sleep(3 *time.Second)
package main
import "fmt"
func main() {
chanel := make(chan int)
go func(s chan<- int) {
for i := 1 i < 5; i++ {
package main
import (
"fmt"
"io/ioutil"
"net/http"
"os"
)
func main() {
@7yan00
7yan00 / dwgo01.go
Last active August 29, 2015 14:11
dwgo#5
package main
import (
"io"
"net/http"
"os"
)
func main() {
@7yan00
7yan00 / 01.go
Last active August 29, 2015 14:11
hoge01.go
package main
import (
"fmt"
"github.com/PuerkitoBio/goquery"
"net/url"
)
func GetPage(base string) {
@7yan00
7yan00 / poh01.go
Last active August 29, 2015 14:12
poh01.go
package main
import (
"bufio"
"fmt"
"os"
"strconv"
)
func main() {
package main
import "fmt"
func main() {
var t , n int
fmt.Scan(&t, &n)
var l [n]string
for i := 0; i < n; i++ {
var s int
package main
import "fmt"
func main() {
var t, n, result int
fmt.Scan(&t, &n)
s := make([]int, n)
f := n - t + 1
@7yan00
7yan00 / imageClowler.go
Last active August 29, 2015 14:13
hoge
package main
import (
"fmt"
"io"
"net/http"
"net/url"
"os"
"strings"
"sync"