Common isomorphic functionality in one kit.

formparamsjs.go 416B

123456789101112131415161718
  1. // The Isomorphic Go Project
  2. // Copyright (c) Wirecog, LLC. All rights reserved.
  3. // Use of this source code is governed by a BSD-style
  4. // license, which can be found in the LICENSE file.
  5. // +build clientonly
  6. package isokit
  7. import (
  8. "honnef.co/go/js/dom"
  9. )
  10. type FormParams struct {
  11. FormElement *dom.HTMLFormElement
  12. UseFormFieldsForValidation bool
  13. FormFields map[string]string
  14. }