EOF
));
require_once GAWPP_DIR . "class.gogs-api-wpp.php";
register_activation_hook(__FILE__, array("Gogs_API_Plugin", "on_activation"));
register_deactivation_hook(__FILE__, array("Gogs_API_Plugin", "on_deactivation"));
add_action("init", array("Gogs_API_Plugin", "init"));
require_once GAWPP_DIR . "class.gogs-api-wpp-widget.php";
add_action("widgets_init", function() {
register_widget("Gogs_API_Plugin_Widget");
});
if (is_admin()) {
require_once GAWPP_DIR . "class.gogs-api-wpp-admin.php";
add_action("init", array("Gogs_API_Plugin_Admin", "init"));
}