Versions in this module Expand all Collapse all v1 v1.1.1 Feb 14, 2023 v1.1.0 Feb 13, 2023 Changes in this version type Survey + RequiredNameIds []string v1.0.0 Feb 12, 2023 Changes in this version + type Answers map[string][]any + type Survey struct + Description *string + FullJsonSurvey *string + NameIdPaths map[string]string + Title *string + Version *string + func NewSurvey(title, version, description *string) (*Survey, error) + func Parse(j string) (*Survey, error) + func ParseBytes(b []byte) (*Survey, error) + func (s *Survey) AddQuestionBytes(question []byte) error + func (s *Survey) AddQuestionJson(question string) error + func (s *Survey) AddQuestionMap(question map[string]any) error + func (s *Survey) Check(aws Answers) error + func (s *Survey) RemoveQuestion(nameId string) error + func (s *Survey) ToMap() (map[string]any, error) + func (s *Survey) UpdateQuestionBytes(question []byte) error + func (s *Survey) UpdateQuestionJson(question string) error + func (s *Survey) UpdateQuestionMap(question map[string]any) error Other modules containing this package github.com/rendis/surveygo/v2