Arnica script encapsulates functions using classes, Arnica Golang script encapsulates functions in packages and sometimes implements them as functions attached to structs.
Below is a summary of classes and packages, compared side-by-side, explaining changes in Arnica Golang script:
| Arnica Script Class | Arnica Golang package | Notes |
| aaServer | server | server package is responsible for routing and no longer provides high level services for logging and configuration access |
| aaCmd | cmd | cmd package continues to encapsulate general purpose functions, and is expanded to include more features. It also re-implements functions from the aaSystem class |
| aaContextSession | state | state package in Arnica Golang script re-implements functionality of the context services in Arnica script with upgraded concurrency capabilities |
| aaError | log | log package implements error management as well as implements tracing and debug tracing |
| aaFileSystem | file | file package encapsulates file and folder management functions |
| aaHTML | html | html package provides html builder functions |
| aaSystem | sys | sys function encapsulates specialized general purpose functions, such as encoding, encryption and others. More primitive functions have been migrated from aaSystem class to cmd package |
| aaSQL | sql | sql package encapsulates general purpose SQL statement builder and management functions |
| aaSQLSession | dbs | dbs (database session) package encapsulates functions executing database queries |
| aaUserSession | user | user package encapsulates functions managing user session, authentication, authorization and access to user properties |
| aaXML | xml | xml package encapsulates functions to work with XML. JSON functionality has been migrated to jsonpackage |
| aaWeb | web | web package encapsulates functions, which work with a current web session and execute generic web requests |
| context | context package implements thread-safe current request state | |
| json | json package encapsulates functions to work with JSON, migrated from aaXML class | |
| config | config package encapsulates functions to access server runtime properties |