// Copyright GoFrame Author(https://goframe.org). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, // You can obtain one at https://github.com/gogf/gf. package gtimer // Exit is used in timing job internally, which exits and marks it closed from timer. // The timing job will be automatically removed from timer later. It uses "panic-recover" // mechanism internally implementing this feature, which is designed for simplification // and convenience. func Exit() { panic(panicExit) }