perkeep/dev
Brad Fitzpatrick d4ff75359c pkg/client: reduce the number of New constructors, return error by default
This removes NewDefault and NewFromParams.

Now the default way to create a client is:

    client.New() -> (*Client, error)

Specifying a server is optional and now requires
client.OptionServer(server).

If the caller really wants to log.Fatal on error, they can use
client.NewOrFail.

Also, some of the boilerplate from GopherJS callers is now promoted to
be the default behavior in the client package.

Change-Id: Icb106cf3e13cc492fe5b2f7f240e1ad4227eaf33
2018-01-24 07:42:04 -08:00
..
config-dir-local dev: add local.sh script to setup demo environment 2014-01-31 12:24:30 +01:00
devcam pkg/client: reduce the number of New constructors, return error by default 2018-01-24 07:42:04 -08:00
envvardoc Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
camfix.pl Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
demo.sh Better demo setup 2014-06-02 15:55:10 +09:00
dev-db Move dev-db shell script out of the root. 2014-02-27 21:26:02 -08:00
local.sh dev: add local.sh script to setup demo environment 2014-01-31 12:24:30 +01:00
make-release make-release: don't clean stuff from the zip 2014-02-27 22:03:52 -08:00
push Add dev/push script. 2013-08-23 00:13:09 -05:00
update_closure_compiler.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00