TestStringToBytes() — gin Function Reference
Architecture documentation for the TestStringToBytes() function in bytesconv_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD a351a42e_df95_8d3f_6808_84177715971a["TestStringToBytes()"] 906ff1c0_0648_d845_043e_dd1afe635fbf["RandStringBytesMaskImprSrcSB()"] a351a42e_df95_8d3f_6808_84177715971a -->|calls| 906ff1c0_0648_d845_043e_dd1afe635fbf dbfe29e4_7d8e_239c_8986_d10f6b57be72["rawStrToBytes()"] a351a42e_df95_8d3f_6808_84177715971a -->|calls| dbfe29e4_7d8e_239c_8986_d10f6b57be72 style a351a42e_df95_8d3f_6808_84177715971a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
internal/bytesconv/bytesconv_test.go lines 81–88
func TestStringToBytes(t *testing.T) {
for range 100 {
s := RandStringBytesMaskImprSrcSB(64)
if !bytes.Equal(rawStrToBytes(s), StringToBytes(s)) {
t.Fatal("don't match")
}
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does TestStringToBytes() do?
TestStringToBytes() is a function in the gin codebase.
What does TestStringToBytes() call?
TestStringToBytes() calls 2 function(s): RandStringBytesMaskImprSrcSB, rawStrToBytes.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free