Documentation
¶
Overview ¶
Package php provides PHP specific functionality for librarian.
Index ¶
- func Clean(library *config.Library) error
- func DefaultOutput(name, defaultOutput string) string
- func Format(ctx context.Context, library *config.Library) error
- func Generate(ctx context.Context, cfg *config.Config, library *config.Library, ...) (err error)
- func Install(ctx context.Context, tools *config.Tools) error
- func InstallDir() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultOutput ¶ added in v0.26.0
DefaultOutput derives an output path from a library name and a default output directory.
func Generate ¶
func Generate(ctx context.Context, cfg *config.Config, library *config.Library, src *sources.Sources) (err error)
Generate generates a PHP client library.
func InstallDir ¶ added in v0.26.0
InstallDir gets the directory where tools should be installed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.