MCPcopy Index your code
hub / github.com/coder/coder / nullInt64Ptr

Function nullInt64Ptr

coderd/exp_chats.go:7327–7332  ·  view source on GitHub ↗
(n sql.NullInt64)

Source from the content-addressed store, hash-verified

7325}
7326
7327func nullInt64Ptr(n sql.NullInt64) *int64 {
7328 if !n.Valid {
7329 return nil
7330 }
7331 return &n.Int64
7332}
7333
7334func writeChatUsageLimitUserNotFound(ctx context.Context, rw http.ResponseWriter) {
7335 httpapi.Write(ctx, rw, http.StatusBadRequest, codersdk.Response{

Calls

no outgoing calls

Tested by

no test coverage detected