MCPcopy
hub / github.com/qax-os/excelize / stringPtr

Function stringPtr

lib.go:456–456  ·  view source on GitHub ↗

stringPtr returns a pointer to a string with the given value.

(s string)

Source from the content-addressed store, hash-verified

454
455// stringPtr returns a pointer to a string with the given value.
456func stringPtr(s string) *string { return &s }
457
458// Value extracts float64 data type numeric from a attribute value.
459func (attr *attrValFloat) Value() float64 {

Callers 15

TestWorkbookPropsFunction · 0.85
TestCalcPropsFunction · 0.85
addDrawingSlicerMethod · 0.85
TestFormControlFunction · 0.85
TestAddHeaderFooterImageFunction · 0.85
GetPageLayoutMethod · 0.85
GetSheetViewMethod · 0.85
TestSetSheetPropsFunction · 0.85
TestAddVBAProjectFunction · 0.85
setCustomPropsMethod · 0.85
TestSetPageLayoutFunction · 0.85
TestSetViewFunction · 0.85

Calls

no outgoing calls

Tested by 8

TestWorkbookPropsFunction · 0.68
TestCalcPropsFunction · 0.68
TestFormControlFunction · 0.68
TestAddHeaderFooterImageFunction · 0.68
TestSetSheetPropsFunction · 0.68
TestAddVBAProjectFunction · 0.68
TestSetPageLayoutFunction · 0.68
TestSetViewFunction · 0.68