forked from gsn/predictor
feat: implemented service/transport/main layers
This commit is contained in:
parent
5158c5d7c9
commit
bcb9ace54c
29 changed files with 804 additions and 393 deletions
|
|
@ -3,13 +3,13 @@
|
|||
package gsn
|
||||
|
||||
// setDefaults set default value of fields.
|
||||
func (s *Parameters) setDefaults() {
|
||||
func (s *PredictionParameters) setDefaults() {
|
||||
{
|
||||
val := bool(false)
|
||||
s.Interpolate.SetTo(val)
|
||||
}
|
||||
{
|
||||
val := ParametersFormat("json")
|
||||
val := PredictionParametersFormat("json")
|
||||
s.Format.SetTo(val)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue