internal/middleware: cleanup

Change-Id: I256ccd24eeabd6ab54b51cbb086ca71d055f6c32
TryBot-Result: Gopher Robot <>
Reviewed-by: Hyang-Ah Hana Kim <>
Run-TryBot: Jamal Carvalho <>
3 files changed
tree: 6c6b318c99b76b37351cf056bd32b32be2ffcd30
  1. cmd/
  2. config/
  3. counter/
  4. godev/
  5. internal/
  6. upload/
  7. .dockerignore
  8. .eslintignore
  9. .eslintrc.json
  10. .gitignore
  11. .prettierignore
  12. .prettierrc.json
  13. .stylelintrc.json
  15. doc.go
  16. go.mod
  17. go.sum
  19. npm
  20. npx
  21. package-lock.json
  22. package.json
  25. tsconfig.json
  26. types.go

Go Telemetry

This repository holds the Go Telemetry server code and libraries.

TypeScript Support

TypeScript files served from content directories are transformed into JavaScript. Reference .ts files in html templates as module code.

<script type="module" src="/filename.ts">

Linting & Formatting

This repository uses eslint to format TS files, stylelint to format CSS files, and prettier to format TS, CSS, Markdown, and YAML files.

See the style guides:

It is encouraged that all TS and CSS code be run through formatters before submitting a change. However, it is not a strict requirement enforced by CI.

Installing npm Dependencies:

  1. Install docker
  2. Run ./npm install

Run ESLint, Stylelint, & Prettier

./npm run all

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see

The main issue tracker for the time repository is located at Prefix your issue with “x/telemetry:” in the subject line, so it is easy to find.