Add golinks

This commit is contained in:
Steffen Lange 2021-01-29 12:16:19 +01:00
parent e5f0387b20
commit 0b40cc5f94

14
modules/Golinks.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Golinks extends PatchBase {
function __construct() {
parent::__construct('James Mills', 'golinks', 'https://prologic.github.io/golinks/');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/prologic/golinks/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>