-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from osspkg/develop
update vendors
- Loading branch information
Showing
23 changed files
with
402 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package: urione | ||
source: urione | ||
version: 1:1.3.1 | ||
architecture: | ||
- amd64 | ||
- arm64 | ||
maintainer: The OSSPkg Team <github@osspkg.com> | ||
homepage: https://uri.one/ | ||
description: | ||
- Link shortening service | ||
section: utils | ||
priority: optional | ||
control: | ||
depends: | ||
- systemd | ||
- ca-certificates | ||
build: devtool build --arch=%arch% | ||
conffiles: | ||
- /etc/urione/config.yaml | ||
preinst: scripts/preinst.sh | ||
postinst: scripts/postinst.sh | ||
prerm: scripts/prerm.sh | ||
postrm: scripts/postrm.sh | ||
data: | ||
bin/urione: build/urione_%arch% | ||
etc/urione/config.yaml: config/config.yaml | ||
var/log/urione.log: +empty | ||
etc/systemd/system/urione.service: init/urione.service | ||
var/lib/urione/migrations/00001.sql: migrations/00001.sql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -362,7 +362,6 @@ linters: | |
- unused | ||
- prealloc | ||
- durationcheck | ||
- nolintlint | ||
- staticcheck | ||
- makezero | ||
- nilerr | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* Copyright (c) 2020-2024 Mikhail Knyazhev <markus621@yandex.ru>. All rights reserved. | ||
* Use of this source code is governed by a GPL-3.0 license that can be found in the LICENSE file. | ||
*/ | ||
|
||
package mainapp | ||
|
||
import "go.osspkg.com/goppy/plugins" | ||
|
||
type Address string | ||
|
||
var Plugin = plugins.Plugin{ | ||
Config: &Config{}, | ||
Inject: func(c *Config) Address { | ||
return Address(c.Address) | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* Copyright (c) 2020-2024 Mikhail Knyazhev <markus621@yandex.ru>. All rights reserved. | ||
* Use of this source code is governed by a GPL-3.0 license that can be found in the LICENSE file. | ||
*/ | ||
|
||
package mainapp | ||
|
||
type Config struct { | ||
Address string `yaml:"address"` | ||
} | ||
|
||
func (v *Config) Default() { | ||
v.Address = "http://localhost:8080" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.