git-calendar-core

module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: AGPL-3.0

README

Git Calendar Core

Go Report Card

Related projects:

Building

For Android and IOS bindings, make sure to install gomobile:

go install golang.org/x/mobile/cmd/gomobile@latest

You can build for all platforms using:

make

or individually:

make [build_android|build_ios|build_web]
Testing Web/Wasm parts:

Install wasmbrowsertest:

go install github.com/agnivade/wasmbrowsertest@latest

Run tests like so:

GOOS=js GOARCH=wasm go test -exec $(go env GOPATH)/bin/wasmbrowsertest ./pkg/... ./cmd/wasm

Or, if you don't wanna specify the -exec:

  1. Rename the exacutable so that go test finds it automatically:
mv "$(go env GOPATH)/bin/wasmbrowsertest" "$(go env GOPATH)/bin/go_js_wasm_exec"
  1. And then run tests like you normally would:
GOOS=js GOARCH=wasm go test ./pkg/... ./cmd/wasm

Directories

Path Synopsis
cmd
cors-proxy command
wasm command
pkg
api
A JSON API wrapper around the core.Core for multiplatform support.
A JSON API wrapper around the core.Core for multiplatform support.

Jump to

Keyboard shortcuts

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