Built-in packages
Much like every programming languages, Go has its own built-in pkgs. There is no difference as to how you write main program and how you write a package. These built-in packages also uses other built-in packages which you can find when you open anyone of them. A general question arises "When they themselves uses built-in package, why can't we use them directly too?" and this is appropriate but the reason to hide such implementation is to avoid developers needing to develop low level code and focus on business logic. You can find them in C:/Go/src in your system. Below you can find some of built-in packages categorized based on application or their use.
compress files/folders
bzip2
flate
gzip
lzw
zlib
crypto
aes
cipher
des
dsa
hmac
elliptic
md5 et al.
database
sql
sql/driver
os
os
exec
signal
user
io
io
fs
ioutil
log
log
syslog
net
net
http
http/cgi
net/http
mail
rpc
smtp
url
regexp
regexp
syntax
Last updated
Was this helpful?