码迷,mamicode.com
首页 >  
搜索关键字:golang strings    ( 7127个结果
go build get 问题处理
client.go:9:2: cannot find module providing package google.golang.org/grpc: working directory is not part of a module 因为开启mod模式了export GO111MODULE=aut ...
分类:其他好文   时间:2021-01-26 12:04:45    阅读次数:0
linux安装go环境
参考官网流程: https://golang.google.cn/doc/install wget https://golang.google.cn/dl/go1.15.7.linux-amd64.tar.gz tar -C /usr/local -zxvf go1.15.7.linux-amd64 ...
分类:系统相关   时间:2021-01-26 11:52:20    阅读次数:0
POJ2406 Power Strings(循环节)
Power Strings Description Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcde ...
分类:其他好文   时间:2021-01-26 11:47:12    阅读次数:0
Redis初识
第1章 Redis初识 Redis 是什么 开源 基于键值的存储服务系统 多种数据结构 strings hash linked list sets sorted sets 高性能、功能丰富 Redis 的特性 速度快 持久化 多种数据结构 支持多种编程语言 功能丰富 简单 主从复制 高可用、分布式 ...
分类:其他好文   时间:2021-01-25 11:08:42    阅读次数:0
1657. Determine if Two Strings Are Close
Two strings are considered close if you can attain one from the other using the following operations: Operation 1: Swap any two existing characters. F ...
分类:其他好文   时间:2021-01-25 11:07:52    阅读次数:0
JS数组去重
// 演示代码 function unique(arr) { /* your code */ } let strings = ["Hare", "Krishna", "Hare", "Krishna", "Krishna", "Krishna", "Hare", "Hare", ":-O" ]; a ...
分类:编程语言   时间:2021-01-25 10:47:59    阅读次数:0
Go 限流-令牌桶
直接上demo package main import ( "context" "fmt" limt "go.uber.org/ratelimit" "golang.org/x/time/rate" "github.com/juju/ratelimit" "time" ) func Demo1() ...
分类:其他好文   时间:2021-01-25 10:36:25    阅读次数:0
golang 错误 too many open files
问题 too many open files错误 最近在看golang,写了个扫描title的脚本,发现打开文件的时候会报错,记录下。 too many open files https://github.com/Stu2014/go package main import ( "bufio" "c ...
分类:其他好文   时间:2021-01-22 11:53:36    阅读次数:0
JS数组去重
// 演示代码 function unique(arr) { /* your code */ } let strings = ["Hare", "Krishna", "Hare", "Krishna", "Krishna", "Krishna", "Hare", "Hare", ":-O" ]; a ...
分类:编程语言   时间:2021-01-22 11:50:53    阅读次数:0
[golang/go语言]YY的GCD(莫比乌斯反演)
学会一种语言最好的办法就是拿它写一道算法题{ 鉴于sort和stl实现不了,就选取了莫比乌斯反演的题来实现 golang还是挺臭屁的,但是大的上面难度还是很低的,go也熟悉了不少 package main import "fmt" func Min(x, y int) int { if x < y ...
分类:编程语言   时间:2021-01-21 10:45:47    阅读次数:0
7127条   上一页 1 ... 10 11 12 13 14 ... 713 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!