MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / MustGetInt

Method MustGetInt

cmd/cql-proxy/model/session.go:219–222  ·  view source on GitHub ↗

MustGetInt returns the int value with specified key in session object.

(key string)

Source from the content-addressed store, hash-verified

217
218// MustGetInt returns the int value with specified key in session object.
219func (s *Session) MustGetInt(key string) (value int64) {
220 value, _ = s.GetInt(key)
221 return
222}
223
224// MustGetUint returns the unsigned int value with specified key in session object.
225func (s *Session) MustGetUint(key string) (value uint64) {

Callers 2

getDeveloperIDFunction · 0.80
getUserIDFunction · 0.80

Calls 1

GetIntMethod · 0.95

Tested by

no test coverage detected