/
githubmirror
/
rclone
Обзор
Документация
Войти
/
githubmirror
/
rclone
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v1.74.3
lib/plugin/package.go
16 строк
631 B
Nick Craig-Wood
build: reformat comments to pass go1.19 vet
05 авг 2022, 18:35
05 авг 2022, 18:35
6fd9e3d
Код
Авторство
О чём код?
// Package plugin implements loading out-of-tree storage backends // using https://golang.org/pkg/plugin/ on Linux and macOS. // // If the $RCLONE_PLUGIN_PATH is present, any Go plugins in that dir // named like librcloneplugin_NAME.so will be loaded. // // To create a plugin, write the backend package like it was in-tree // but set the package name to "main". Then, build the plugin with // // go build -buildmode=plugin -o librcloneplugin_NAME.so // // where NAME equals the plugin's fs.RegInfo.Name. package plugin // Build for plugin for unsupported platforms to stop go complaining // about "no buildable Go source files".