Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/derekbanas/Go-Tutorial
/ tspToML
Function
tspToML
hellogo.go:172–174 ·
view source on GitHub ↗
Convert with functions (Bad Way)
(tsp Tsp)
Source
from the content-addressed store, hash-verified
170
171
// Convert with functions (Bad Way)
172
func
tspToML(tsp Tsp) ML {
173
return
ML(tsp * 4.92)
174
}
175
176
func
TBToML(tbs TBs) ML {
177
return
ML(tbs * 14.79)
Callers
1
main
Function · 0.85
Calls
1
ML
TypeAlias · 0.85
Tested by
no test coverage detected