Type sets the type of script: "inline" or "id".
(typ string)
| 54 | |
| 55 | // Type sets the type of script: "inline" or "id". |
| 56 | func (s *Script) Type(typ string) *Script { |
| 57 | s.typ = typ |
| 58 | return s |
| 59 | } |
| 60 | |
| 61 | // Lang sets the language of the script. The default scripting language |
| 62 | // is Painless ("painless"). |
nothing calls this directly
no outgoing calls
no test coverage detected