MCPcopy Create free account
hub / github.com/derekbanas/Go-Tutorial / ToMLs

Method ToMLs

hellogo.go:181–183  ·  view source on GitHub ↗

Associate method with types

()

Source from the content-addressed store, hash-verified

179
180// Associate method with types
181func (tsp Tsp) ToMLs() ML {
182 return ML(tsp * 4.92)
183}
184func (tbs TBs) ToMLs() ML {
185 return ML(tbs * 14.79)
186}

Callers 1

mainFunction · 0.45

Calls 1

MLTypeAlias · 0.85

Tested by

no test coverage detected