package
0.0.0-20240912080734-74f7c92c44c6
Repository: https://github.com/hanyue-s-fyp/marcom-backend.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
Solely for QoL development (like adding ternary to Go :)) Ternary util.
creates a http.Handler with my own function type (I prefer making handlers or controllers to return concrete object/struct if success and return error if anything goes wrong, complying with go's error handling way) go don't have default parameters, and since for my use case only C operations will return a diff status code for success cases (I am not trying to rebuild a whole new full-fledged net framework :))), will use variadic parameters and determine if a diff code should be used the bad thing is there's ntg stopping me from providing more :((.
if setup environment variables in system alrd, pass in empty string and will attempt to load environment variables from the system.
returns every elements that are in `ori` but not in `compared`.
creates all the necessary header and writes e to the response.
creates all the necessary header and writes obj in JSON to the response.
No description provided by the author
creates the grpc simulation service client and calls callback with the client.

# Structs

faster access than os.Getenv.
Either type is a workaround for union types in go, eg.
No description provided by the author