Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GuilhermeCaruso/anko
/ functions
Functions
27 in github.com/GuilhermeCaruso/anko
⨍
Functions
27
◇
Types & classes
5
↓ 8 callers
Function
Error
Error is called to format the error message in the application
internal/banner/banner.go:26
↓ 7 callers
Function
Init
Init is the basic configuration function, responsible to read and defining the configuration
internal/configuration/configuration.go:67
↓ 5 callers
Function
PrintWithColor
PrintWithColor is responsible for fomatting the message
internal/banner/print.go:9
↓ 3 callers
Function
After
(extension string)
internal/configuration/configuration_test.go:40
↓ 3 callers
Method
InitApp
InitApp is responsible for initializing the configured application using anko.yaml to configure the primary language and processes.
internal/watcher/app.go:16
↓ 2 callers
Function
Before
(extension string)
internal/configuration/configuration_test.go:10
↓ 2 callers
Function
Get
Get is the getter of the configurationFile
internal/configuration/configuration.go:75
↓ 1 callers
Method
AppController
AppController is the main channel used for control anko actions like reset, start and other future options
internal/watcher/app.go:107
↓ 1 callers
Function
GetLanguage
GetLanguage is a simple selector using supportedLanguages
internal/watcher/language.go:31
↓ 1 callers
Function
Intro
Intro prints the initial message from the application
internal/banner/banner.go:6
↓ 1 callers
Function
Listening
Listening prints message after application is listening for changes
internal/banner/banner.go:16
↓ 1 callers
Function
New
New is a simple Watcher initializer
internal/watcher/configuration.go:28
↓ 1 callers
Function
Restarting
Restarting is called when application requires changes
internal/banner/banner.go:21
↓ 1 callers
Function
SettingUp
SettingUp prints the setting up message from the application
internal/banner/banner.go:11
↓ 1 callers
Method
WatchForChange
WatchForChange is a simple fsnotify wrapper used to watch all root patch events.
internal/watcher/watcher.go:16
↓ 1 callers
Function
WrongBefore
(extension string)
internal/configuration/configuration_test.go:27
↓ 1 callers
Function
buildMsgError
(name string)
internal/watcher/language.go:51
↓ 1 callers
Function
getFileNameIfExists
()
internal/configuration/configuration.go:79
↓ 1 callers
Function
normalizeExtensionWithDot
(extensions []string)
internal/watcher/watcher.go:59
↓ 1 callers
Function
readFile
()
internal/configuration/configuration.go:43
↓ 1 callers
Method
resetApp
()
internal/watcher/app.go:65
Function
TestConfigurationFileYaml
(t *testing.T)
internal/configuration/configuration_test.go:115
Function
TestConfigurationFileYml
(t *testing.T)
internal/configuration/configuration_test.go:45
Function
TestNotFoundConfigurationFileYaml
(t *testing.T)
internal/configuration/configuration_test.go:87
Function
fileListener
(path string, fi os.FileInfo, err error)
internal/watcher/watcher.go:52
Function
main
()
anko.go:17
Function
main
()
example/golang/main.go:9