I hereby claim:
- I am rossnelson on github.
- I am rossnelson (https://keybase.io/rossnelson) on keybase.
- I have a public key ASDwEIAenmga0BCj6sYqj1O0zS55CCd9fbU0LQ0Hu_piZQo
To claim this, I am signing this object:
package contracts | |
type List []Record | |
type Record struct { | |
ID string `gorm:"column:id" json:"id"` | |
Name string `gorm:"column:name" json:"name"` | |
StartDate time.Time `gorm:"column:startDate" json:"start_date"` | |
EndDate time.Time `gorm:"column:endDate" json:"end_date"` | |
CreatedAt time.Time `gorm:"column:createdAt" json:"created_at"` |
package something | |
import ( | |
"encoding/json" | |
"strconv" | |
) | |
type SomeData struct { | |
SomeSlice []int `json:"some_slice"` | |
} |
package intervals | |
var names = map[string]string{ | |
"daily": "daily", | |
"weekly": "weekly", | |
"monthly": "monthly", | |
"yearly": "yearly", | |
} | |
var singular = map[string]string{ |
import { createRef, useEffect, useState } from 'react'; | |
export function useScreenEnter(callback) { | |
const scrollRef = createRef(); | |
const loaderRef = createRef(); | |
const [more, hasMore] = useState(true); | |
function activate() { | |
if ( |
import { useCallback } from 'react'; | |
import debounce from 'lodash.debounce'; | |
export function useDebounce(fn: () => void, delay: number) { | |
const debouncer = debounce(fn, delay); | |
const start = useCallback(() => { | |
debouncer(); | |
}, [debouncer]); |
import _ from 'lodash'; | |
import { DateTime } from 'luxon'; | |
import moment from 'moment-timezone'; | |
class Base<T> { | |
params: T; | |
constructor(params: T) { | |
this.params = params; | |
} |
import Session from 'lib/session'; | |
const store = { | |
state: Session.account ? Session.account : null, | |
reducers: { | |
setAccount(state, account) { | |
return account; | |
} | |
} |
import React, { createContext, useContext, useReducer } from 'react'; | |
import Log from 'lib/log'; | |
import _ from 'lodash'; | |
import stores from './stores'; | |
const store = createContext(stores.state); | |
const { Provider } = store; | |
const StateProvider = ({ children }) => { |
I hereby claim:
To claim this, I am signing this object:
package process | |
import ( | |
"encoding/json" | |
"fmt" | |
"github.com/simiancreative/simiango/logger" | |
) | |
var processors map[KindID]Processor |