Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XieWeiXie/Gopher-By-Example
/ functions
Functions
225 in github.com/XieWeiXie/Gopher-By-Example
⨍
Functions
225
◇
Types & classes
49
↓ 9 callers
Method
Get
(string)
eight/main.go:16
↓ 5 callers
Function
OpUrl
* type URL struct { Scheme string Opaque string // encoded opaque data User *Userinfo // username and password information
built-in-package/season-one/season-url/main.go:47
↓ 5 callers
Function
RedM
(message ...interface{})
graphql-example/pkg/log/log-for-project.go:32
↓ 4 callers
Function
Add
(argOne int, argTwo int)
eleven/infra/add.go:3
↓ 4 callers
Method
Error
()
built-in-package/season-one/season-error/main.go:39
↓ 4 callers
Method
Handler
(name string)
built-in-package/season-one/season-reflect/main.go:108
↓ 4 callers
Method
Run
(request RequestForGithub)
seven/engine/engine.go:18
↓ 3 callers
Function
FExist
(path string)
ten/infra/golang/osadapater/os.go:46
↓ 3 callers
Method
GetAttrCode
()
four/main.go:90
↓ 3 callers
Method
Serializer
()
graphql-example/model/vote.go:53
↓ 2 callers
Function
DExist
(path string)
ten/infra/golang/osadapater/os.go:59
↓ 2 callers
Method
MarshalOp
()
built-in-package/season-one/season-json/main.go:97
↓ 2 callers
Function
PassageParse
(document *goquery.Document)
nine/parse/gocn/gocn_parse.go:70
↓ 2 callers
Function
PrintName
()
second/example.go:57
↓ 2 callers
Function
Register
()
graphql-example/pkg/router/router.go:28
↓ 2 callers
Function
Show
(param interface{})
eight/main.go:65
↓ 2 callers
Method
Valid
()
graphql-example/web/vote/vote_params.go:19
↓ 2 callers
Function
boolToString
(value bool)
built-in-package/season-one/season-strconv/main.go:87
↓ 2 callers
Function
examplePanic
()
five/main.go:27
↓ 2 callers
Function
floatToString
(value float64)
built-in-package/season-one/season-strconv/main.go:97
↓ 2 callers
Function
toBool
(value string)
built-in-package/season-one/season-strconv/main.go:82
↓ 2 callers
Function
toFloat
(value string)
built-in-package/season-one/season-strconv/main.go:92
↓ 2 callers
Function
toInt
(value string)
built-in-package/season-one/season-strconv/main.go:71
↓ 2 callers
Function
toString
(value int)
built-in-package/season-one/season-strconv/main.go:77
↓ 1 callers
Function
CFile
(name string)
ten/infra/golang/osadapater/os.go:72
↓ 1 callers
Function
ConsistBody
(key string, fileName string)
ten/ui/service/consist_body.go:16
↓ 1 callers
Function
CreateConfigDir
(instanceId string, fullPath string)
ten/domain/roles/create_config_file.go:16
↓ 1 callers
Function
Download
(url string)
nine/download/download.go:18
↓ 1 callers
Function
ExampleFor
(name []string)
second/example.go:228
↓ 1 callers
Function
ExampleFunc
* 8. func */
second/example.go:194
↓ 1 callers
Function
ExampleJudgement
* 9. if...else switch for */
second/example.go:219
↓ 1 callers
Function
ExampleList
* 4. List */
second/example.go:104
↓ 1 callers
Function
ExampleMap
* 6. map */
second/example.go:136
↓ 1 callers
Function
ExampleNoName
()
second/example.go:202
↓ 1 callers
Function
ExampleSlice
* 5. slice */
second/example.go:122
↓ 1 callers
Function
ExampleString
* 3. string */
second/example.go:66
↓ 1 callers
Function
ExampleStruct
()
second/example.go:162
↓ 1 callers
Function
Execute
(dir string, cmd string, args ...string)
ten/infra/golang/execadapter/exec.go:16
↓ 1 callers
Method
GetAttr
()
second/example.go:179
↓ 1 callers
Method
GetAttrCode
()
four/main.go:181
↓ 1 callers
Method
GetAttrHeader
()
four/main.go:97
↓ 1 callers
Method
GetAttrResult
()
four/main.go:93
↓ 1 callers
Function
GetHtmlResponse
(url string)
fifteen/download/download.go:15
↓ 1 callers
Function
GitClone
(dir string, addr string, path string)
ten/ui/service/git_service.go:16
↓ 1 callers
Function
InfoParse
(response *goquery.Document)
fifteen/parse/jianshu/info_parse.go:7
↓ 1 callers
Method
Instance
(fullPath string)
ten/app/config_instance.go:27
↓ 1 callers
Function
IntToString
(value int64)
built-in-package/season-one/season-strconv/main.go:107
↓ 1 callers
Function
JobParse
(response *goquery.Document)
fifteen/parse/v2ex/job_parse.go:7
↓ 1 callers
Function
MKdir
(name string)
ten/infra/golang/osadapater/os.go:18
↓ 1 callers
Function
Marshal
(v interface{})
ten/infra/golang/yamladapter/yaml.go:5
↓ 1 callers
Function
Marshal
(v interface{})
ten/infra/golang/jsonadapter/json.go:28
↓ 1 callers
Function
NormalFunc
(arg int)
four/main.go:132
↓ 1 callers
Function
Pinyin
()
thirteen/main/main.go:10
↓ 1 callers
Function
RDir
(path string)
ten/infra/golang/osadapater/os.go:33
↓ 1 callers
Function
ReadAllCfgFromFile
(fileName string)
ten/infra/golang/ioutiladapter/ioutil.go:10
↓ 1 callers
Function
RegisterSchema
()
graphql-example/pkg/router/router.go:15
↓ 1 callers
Method
ResponseNumber
()
four/main.go:80
↓ 1 callers
Function
Run
(seeds ...Request)
fifteen/engine/engine.go:23
↓ 1 callers
Method
SetAttr
()
second/example.go:183
↓ 1 callers
Method
SetCode
(code int)
four/main.go:101
↓ 1 callers
Method
SetHeaders
(key, value string)
four/main.go:105
↓ 1 callers
Method
Start
()
nine/ui/api-server/api_server.go:35
↓ 1 callers
Method
String
()
four/main.go:177
↓ 1 callers
Function
StringRegexp
(old string)
nine/infra/util_string.go:56
↓ 1 callers
Function
TitleParse
(document *goquery.Document)
nine/parse/gocn/gocn_parse.go:19
↓ 1 callers
Function
UnMarshalExample
(value []byte)
built-in-package/season-one/season-json/main.go:102
↓ 1 callers
Function
Unmarshal
(in []byte, out interface{})
ten/infra/golang/yamladapter/yaml.go:10
↓ 1 callers
Function
Unmarshal
(data []byte, v interface{})
ten/infra/golang/jsonadapter/json.go:16
↓ 1 callers
Function
WriteCfgIntoFile
(fileName string, data []byte)
ten/infra/golang/ioutiladapter/ioutil.go:5
↓ 1 callers
Function
boolToJson
(ok bool)
built-in-package/season-one/season-json/main.go:73
↓ 1 callers
Function
example
declare
three/main.go:10
↓ 1 callers
Function
example
err
five/main.go:10
↓ 1 callers
Function
exampleCollectionRequests
()
four/main.go:153
↓ 1 callers
Function
exampleFuncAsArg
(arg int, function func(int) int)
three/main.go:69
↓ 1 callers
Function
exampleInformationDeclare
()
four/main.go:16
↓ 1 callers
Function
exampleInformationWithLabelFiled
()
four/main.go:68
↓ 1 callers
Function
exampleListArg
arg list
three/main.go:22
↓ 1 callers
Function
exampleNameResponse
name response
three/main.go:43
↓ 1 callers
Function
exampleOneArg
arg
three/main.go:16
↓ 1 callers
Function
exampleOneResponse
one response
three/main.go:31
↓ 1 callers
Function
exampleOtherRequests
()
four/main.go:186
↓ 1 callers
Function
examplePanicOther
()
five/main.go:31
↓ 1 callers
Function
exampleResponse
()
four/main.go:109
↓ 1 callers
Function
exampleTwoResponses
two responses
three/main.go:37
↓ 1 callers
Function
exampleValueAddress
copy address
three/main.go:57
↓ 1 callers
Function
exampleValueCopy
copy value
three/main.go:50
↓ 1 callers
Method
init
()
nine/ui/api-server/api_server.go:16
↓ 1 callers
Function
intToJson
(value int)
built-in-package/season-one/season-json/main.go:85
↓ 1 callers
Function
jsonToBool
(value []byte)
built-in-package/season-one/season-json/main.go:79
↓ 1 callers
Function
judgeYamlFile
(fileName string)
ten/ui/service/consist_body.go:44
↓ 1 callers
Function
marshalInterface
(value []byte)
built-in-package/season-one/season-json/main.go:137
↓ 1 callers
Function
numberExample
* 1. 变量 */
second/example.go:14
↓ 1 callers
Method
register
()
nine/ui/api-server/api_server.go:23
↓ 1 callers
Function
splitKey
(key string)
ten/app/config_instance.go:69
↓ 1 callers
Function
splitValue
(key string)
ten/app/config_instance.go:77
↓ 1 callers
Function
stringHandler
(value string)
built-in-package/season-one/season-reflect/main.go:156
↓ 1 callers
Function
stringsFiled
(value string)
built-in-package/season-one/season-strings/main.go:33
↓ 1 callers
Function
stringsLowerOrUpper
(value string, toLower bool)
built-in-package/season-one/season-strings/main.go:26
↓ 1 callers
Function
tableSync
()
graphql-example/cmd/sync_cmd.go:24
↓ 1 callers
Function
toBaseInt
(value string)
built-in-package/season-one/season-strconv/main.go:102
next →
1–100 of 225, ranked by callers