Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boltdb/raw
/ functions
Functions
23 in github.com/boltdb/raw
⨍
Functions
23
◇
Types & classes
6
↓ 17 callers
Function
tocamelcase
(s string)
cmd/bolt-rawgen/main.go:332
↓ 7 callers
Function
tostr
tostr converts a node to a string.
cmd/bolt-rawgen/main.go:322
↓ 6 callers
Function
traceln
(v ...interface{})
cmd/bolt-rawgen/main.go:351
↓ 3 callers
Method
Bytes
Bytes returns a byte slice pointing to the string's contents.
raw.go:24
↓ 3 callers
Method
Encode
Encode encodes an Event into a byte slice that can be read by a RawEvent.
raw_test.go:59
↓ 2 callers
Method
String
String returns a Go string of the string value from an encoded byte slice.
raw.go:29
↓ 1 callers
Function
importsRaw
importsRaw returns true if a given path imports boltdb/raw.
cmd/bolt-rawgen/main.go:71
↓ 1 callers
Function
isRawStructType
isRawStructType returns true when a type declaration uses all raw types.
cmd/bolt-rawgen/main.go:305
↓ 1 callers
Function
process
process parses and rewrites a file by generating the appropriate exported types for raw types.
cmd/bolt-rawgen/main.go:87
↓ 1 callers
Function
tracef
(format string, v ...interface{})
cmd/bolt-rawgen/main.go:345
↓ 1 callers
Method
visitTypeSpec
visitTypeSpec is called for every type declaration. Each declaration is checked for raw usage and an exported type is generated if appropriate.
cmd/bolt-rawgen/main.go:144
↓ 1 callers
Function
writeAccessorFuncs
writeAccessorFuncs writes a accessor functions for a raw struct type.
cmd/bolt-rawgen/main.go:276
↓ 1 callers
Function
writeDecodeFunc
writeDecodeFunc writes a generated decoding function for a raw struct type.
cmd/bolt-rawgen/main.go:261
↓ 1 callers
Function
writeEncodeFunc
writeEncodeFunc writes a generated encoding function for a raw struct type.
cmd/bolt-rawgen/main.go:228
↓ 1 callers
Function
writeExportedType
writeExportedType writes a generated exported type for a raw struct type.
cmd/bolt-rawgen/main.go:192
Function
BenchmarkStringDecode
(b *testing.B)
raw_test.go:39
Function
BenchmarkStringEncode
(b *testing.B)
raw_test.go:29
Method
Encode
Encode writes a string to a byte slice and updates the offset/length.
raw.go:17
Function
TestString_Encode
Ensure that an event can be correctly encoded.
raw_test.go:11
Method
Visit
Visit implements the ast.Visitor interface. It is called once for every AST node.
cmd/bolt-rawgen/main.go:128
Function
main
()
cmd/bolt-rawgen/main.go:23
Function
trace
(v ...interface{})
cmd/bolt-rawgen/main.go:339
Function
walk
Walk recursively iterates over all files in a directory and processes any file that imports "github.com/boltdb/raw".
cmd/bolt-rawgen/main.go:41