Releases: iyashjayesh/monigo
Releases · iyashjayesh/monigo
v1.0.2
What's Changed
- Enhancement/dashboard port selection by @iyashjayesh in #15
- fix - name contains an additional path by @Bionic2113 in #17
New Contributors
- @Bionic2113 made their first contribution in #17
Full Changelog: v1.0.1...v1.0.2
v1.0.1
What's Changed
- [Fixed] Minor bugs by @iyashjayesh in #11
Update on Code Changes
After reviewing the feedback, it seems the default port change was missed during the code merge. Additionally, a minor enhancement has been added to the function trace logic.
Note:
The monigo.TraceFunction(func())
method accept func(){}
as a type.
Example Usage:
func apiHandler(w http.ResponseWriter, r *http.Request) {
// Trace function: when the highMemoryUsage function is called, it will be traced.
monigo.TraceFunction(highMemoryUsage)
w.Write([]byte("API1 response: memexpensiveFunc"))
}
func highMemoryUsage() {
// Simulate high memory usage by allocating a large slice
largeSlice := make([]float64, 1e8) // 100 million elements
for i := 0; i < len(largeSlice); i++ {
largeSlice[i] = float64(i)
}
}
Full Changelog: v1.0.0...v1.0.1
v1.0.0
The Real Deal - Finally here! 🚀
We fixed the bugs (and probably created some new ones 🙈). Tested and ready to roll!
Let’s hope nothing catches fire! 🔥 😆