init: Configure btpeerd build process

Configures the go module for the project, setting the package
name and local access to the config repo. Build scripts have
also been added to make building and running unit tests easy.

The application tests usage of the config repo and prints
hello world continuously for now. This stub will be replaced
in later CLs, but the build process will remain the same.

BUG=b:329304120
TEST=scripts/build_in_chroot.sh runs successfully
TEST=successfully able build in pi-gen chroot and run btpeerd
executable on raspi flashed with image from pi-gen

Change-Id: Ia9d3f3371719ce973e6112206dba016fdcd11538
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/btpeerd/+/5399159
Commit-Queue: Jared Bennett <jaredbennett@google.com>
Tested-by: Jared Bennett <jaredbennett@google.com>
Reviewed-by: Jason Stanko <jstanko@google.com>
8 files changed
tree: fc9d79675814fb705804c712fa61b560db82ac88
  1. go/
  2. scripts/
  3. .gitignore
  4. DIR_METADATA
  5. LICENSE
  6. OWNERS
  7. PRESUBMIT.cfg