Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/adonovan/gopl.io
/ String
Method
String
ch7/http4/main.go:29–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
27
type
dollars float32
28
29
func
(d dollars) String() string {
return
fmt.Sprintf(
"$%.2f"
, d) }
30
31
type
database
map
[string]dollars
32
Callers
12
formatAtom
Function · 0.45
Print
Function · 0.45
pretty
Function · 0.45
encode
Function · 0.45
formatAtom
Function · 0.45
equal
Function · 0.45
intsToString
Function · 0.45
Extract
Function · 0.45
handleConn
Function · 0.45
Format
Function · 0.45
TestEcho
Function · 0.45
echo.go
File · 0.45
Calls
no outgoing calls
Tested by
1
TestEcho
Function · 0.36