Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/code-golf/code-golf
/ types & classes
Types & classes
120 in github.com/code-golf/code-golf
⨍
Functions
650
◇
Types & classes
120
↓ 3 callers
Class
stat
langs/go/go.c:102
↓ 3 callers
Class
stat
langs/gleam/gleam.c:105
↓ 1 callers
TypeAlias
ua
routes/golfer_settings_sessions.go:11
Class
assets/js/_unprintable.ts:52
Struct
Card
routes/home_cards.go:13
Struct
Cheevo
config/cheevos.go:19
TypeAlias
Cheevos
config/sql.go:9
Struct
Config
oauth/oauth.go:15
Struct
Connection
oauth/oauth.go:20
Struct
Country
config/countries.go:8
Struct
DFAState
hole/dfa-simulator.go:8
Struct
DFAStateTransition
hole/dfa-simulator.go:13
Interface
DiffPos
assets/js/_diff.tsx:5
Struct
Direction
hole/numbrix.go:312
TypeAlias
FailingSolutions
golfer/golfer.go:74
Struct
Golfer
Golfer is the info of a logged in golfer we need on every request. TODO Some of this stuff isn't needed on every request but is needed to populate gol
golfer/golfer.go:32
Struct
GolferInfo
GolferInfo is populated when looking at a /golfers/xxx route.
golfer/golfer.go:51
Struct
GolferLink
GolferLink is the smallest unit of golfer, mainly used to make golfer links.
golfer/golfer.go:23
Struct
GridBox
hole/css-grid.go:13
Struct
GridBoxSolution
hole/css-grid.go:15
TypeAlias
GridSolution
hole/css-grid.go:17
Struct
GridTestCase
hole/css-grid.go:8
Struct
GroupItem
routes/banner.go:62
Struct
Hand
hole/poker.go:48
Struct
Hole
config/holes.go:55
Struct
HoleAnswer
config/holes.go:77
FuncType
HoleAnswerFunc
func() []HoleAnswer
config/holes.go:82
TypeAlias
Holes
config/sql.go:10
Class
Host
langs/powershell/powershell.cs:99
Interface
InsertCharState
assets/js/_codemirror_unprintable.tsx:37
Interface
IntrinsicElements
assets/js/_unprintable.ts:113
Interface
IntrinsicElements
assets/js/typings/_intrinsicJSX.ts:16
FuncType
Judge
An ultimate task of a Judge is to tell whether a run is passing or not. However, it does more. When the output is not recognised as correct, it return
hole/judges.go:13
Interface
Lang
assets/js/_hole-common.tsx:8
Struct
Lang
config/langs.go:37
TypeAlias
Langs
config/sql.go:11
Struct
Link
config/holes.go:50
Struct
LinkGroup
config/nav.go:16
TypeAlias
Map
ordered/ordered.go:11
Interface
Match
assets/js/golfer/code-search.tsx:3
Struct
Match
routes/api.go:238
Struct
NFAResult
hole/nfa-simulator.go:17
Struct
NFAState
hole/nfa-simulator.go:10
Struct
NFAStateTransition
hole/nfa-simulator.go:16
Struct
NavLink
config/nav.go:11
Struct
Navigaton
config/nav.go:21
Struct
Node
hole/reverse-polish-notation.go:10
Struct
Null
null/null.go:15
Struct
Option
TODO These structures are very similar to config/nav, consider sharing?
config/settings.go:6
Struct
Pager
pager/pager.go:12
Class
Program
langs/powershell/powershell.cs:8
Struct
Progress
routes/golfer_cheevos.go:26
Interface
Queryable
Queryable includes all methods shared by sqlx.DB & sqlx.Tx, allowing either type to be used interchangeably. https://github.com/jmoiron/sqlx/pull/809
db/db.go:29
Interface
RankFromTo
assets/js/_hole-common.tsx:349
Interface
RankUpdate
assets/js/_hole-common.tsx:355
Struct
RankUpdate
golfer/golfer.go:83
Struct
RankUpdateFromTo
FIXME I'm not sure these RankUpdate structs belong here.
golfer/golfer.go:77
Class
RawUserInterface
langs/powershell/powershell.cs:212
Interface
ReadonlyPanelsData
assets/js/_hole-common.tsx:381
Struct
RecAnnouncement
Represents a new record announcement message
discord/bot.go:44
TypeAlias
ReversiBoard
hole/reversi.go:9
Struct
ReversiSpot
hole/reversi.go:33
TypeAlias
ReversiTile
hole/reversi.go:8
Interface
Run
assets/js/_hole-common.tsx:368
Struct
Run
Run holds the results of running a given solution once.
hole/play.go:45
Struct
SVG
views/views.go:94
Interface
Scorings
assets/js/_hole-common.tsx:829
Interface
SearchNavResult
assets/js/_search-nav.ts:3
Interface
SearchNavResultInternal
assets/js/_search-nav.ts:8
Struct
Session
session/session.go:13
Struct
Setting
config/settings.go:11
TypeAlias
Settings
Settings is page → setting → value.
golfer/golfer.go:97
FuncType
SingleOutputJudge
A judge for a single output (corresponding to either a single input or a single preset output item)
hole/judges.go:20
Struct
Step
routes/golfer_cheevos.go:21
Interface
SubmitResponse
assets/js/_hole-common.tsx:391
Struct
SubsetRun
Subset runs so we don't leak too much info.
routes/golfer_solution.go:117
Struct
Thumbs
github/votes.go:33
Struct
URL
routes/sitemap.go:14
TypeAlias
UUID
uuid/uuid.go:11
Class
UnprintableElement
assets/js/_unprintable.ts:52
Struct
Use
views/views.go:90
Class
UserInterface
langs/powershell/powershell.cs:137
Interface
ViewState
assets/js/hole/tabs.tsx:451
Struct
Zone
zone/zone.go:13
Struct
badgeMetric
routes/badge.go:24
Struct
banner
routes/banner.go:14
Struct
bbox
a bounding box (bbox) is defined in terms of its top-left vertex coordinates (x, y) and its width and height (w, h).
hole/intersection.go:11
Struct
browser
routes/stats_sessions.go:25
TypeAlias
cardValue
hole/poker.go:8
TypeAlias
connectFourGrid
hole/connect-four.go:15
Struct
cssLink
routes/render.go:32
Class
dirent
langs/go/go.c:112
Class
dirent
langs/gleam/gleam.c:115
Struct
entry
routes/legacy_api.go:375
Struct
fraction
hole/fractions.go:8
TypeAlias
grid
hole/game-of-life.go:42
Struct
holeOfTheWeek
config/hole_of_the_week.go:19
Struct
idea
routes/ideas.go:15
Struct
item
hole/huffman.go:29
Struct
item
ordered/ordered.go:13
next →
1–100 of 120, ranked by callers