shrink

package
v1.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Files

func Files() error

Files approves and then archives incoming files.

Example
package main

import (
	"fmt"

	"github.com/Defacto2/df2/pkg/shrink"
)

func main() {
	if err := shrink.Files(); err != nil {
		fmt.Print("shrink files error")
	}
}
Output:

shrink files error

func Previews

func Previews() error

Previews approves and archives incoming preview images.

Example
package main

import (
	"fmt"

	"github.com/Defacto2/df2/pkg/shrink"
)

func main() {
	if err := shrink.Previews(); err != nil {
		fmt.Print("shrink previews error")
	}
}
Output:

func SQL

func SQL() error
Example
package main

import (
	"fmt"

	"github.com/Defacto2/df2/pkg/shrink"
)

func main() {
	if err := shrink.SQL(); err != nil {
		fmt.Print("shrink sql error")
	}
}
Output:

shrink sql error

Types

This section is empty.

Directories

Path Synopsis
internal
sql

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL