Packages

Using Packages

Import packages with the import keyword:

import "string"
import "net/http"
import "crypto/sha256"

Package List

PackageDescription
arenaArena memory allocator
arrayArray literals — arr1–arr6, fill, range, sort, reverse
assertRuntime assertions
autogradAutomatic differentiation
avx512AVX-512 SIMD intrinsics
base64Base64 encoding/decoding
benchmarkBenchmarking framework
bitsetBit set data structure
buildconfigBuild configuration — jda.toml parser
calendarCalendar formatting
compressRLE and LZ77 compression
configparserINI file parser
convString/integer conversion
copyDeep copy utilities
coverageCode coverage
crypto/aesAES encryption
crypto/hmacHMAC authentication
crypto/sha256SHA-256 hashing
csvCSV parsing
datetimeDate/time manipulation
debugSoftware debugger — breakpoints, watchpoints, assertions
dequeDouble-ended queue
diffText diffing
dnsDNS resolution
dropDestructors — registry-based cleanup, scope guards
emailEmail parsing/composing
enumRuntime enumerations
envEnvironment variables
errnoSystem error codes
file_ioFile read/write
findFile finder
fixedpointFixed-point arithmetic
fnmatchFilename pattern matching
formatString formatting
fsFilesystem operations
ftpFTP client
getpassPassword input
globFilesystem globbing
graphGraph data structure
gzipGzip compression
hashmapHash map
heapBinary heap / priority queue
hexHex encoding/decoding
i128128-bit integer arithmetic
htmlHTML escaping
htmlparserHTML parser (SAX-style)
httpclientHTTP client
httpserverHTTP server
jsonJSON parsing/generation
kvstoreKey-value file store
linecacheLine-by-line file cache
lintCode style checker — naming conventions, warnings
lockfileLock file — dependency pinning, version/hash
logLogging
lruLRU cache
marshalBinary serialization
mathMath functions
matrixMatrix operations
mimetypesMIME type lookup
mmapMemory-mapped files
net/httpHTTP protocol
net/tcpTCP sockets
net/udpUDP sockets
namespaceModule registry — register, require, prefix
netrc.netrc file parser
nnNeural network layers
operatorOperator functions
optionOption type — Some/None, unwrap, expect
orderedmapOrdered map
osOS interface
packBinary packing/unpacking
pathnamePath manipulation
platformSystem information
poolObject pool allocator
profileFunction-level profiler — timing, call counts, report
ptxNVIDIA PTX codegen
queueFIFO queue
randomRandom number generation
regexRegular expressions
resultError return — ok/err, unwrap, expect, error codes
ringbufRing buffer
rocmAMD ROCm GPU
schedTask scheduler
semverSemantic versioning — parse, compare, bump
setHash set
signalSignal handling
sliceSlice / dynamic view — sub-slice, get/set, contains
smartptrSmart pointers — Box, Rc, Weak
smtpSMTP email sending
socketserverTCP/UDP server framework
sortSorting algorithms
stackLIFO stack
stacktraceCall stack trace — enter/leave, panic with trace
statisticsStatistical functions
stringString operations
syncSynchronization — WaitGroup, Barrier, OnceFlag
tarfileTar archive
templateText templates
tempfileTemporary files
tensorTensor operations
testingTest framework
textwrapText wrapping
timeTime and sleep
tomlTOML parser
transformerTransformer architecture
triePrefix tree
uriURI parsing
variantSum types / tagged unions — var0–var4, tag, field access
vecDynamic array
visibilityVisibility control — pub/private/internal convention
vtableDynamic dispatch — vtable, dyn objects, method lookup
xmlXML parser (SAX-style)
zipfileZIP archive
zlibDeflate compression